Monday 15 June 2015

rest - Oracle RESTful Query with OAuth2 authorization - How to get the User belonging to the token? -



rest - Oracle RESTful Query with OAuth2 authorization - How to get the User belonging to the token? -

we're developing oracle database based restful webservice , we're using oauth2 code protocol flow issue bearer tokens querying oauth2 bearer authorization.

the authorization works fine, when perform restful query, need know user associated token.

we tried "apex_util.get_current_user_id", doesn't homecoming value when queried via oauth2 authorized restful query.

do have ideas on how grab current user in scenario?

thanks!

we found solution, it's pretty simple: utilize property: ":current_user ;)

oracle rest oauth

No comments:

Post a Comment