Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

First Party OAuth in REST 3.0

User_OGGA1May 26 2015 — edited May 26 2015

I'm in the process of developing REST APIs to be used in a Mobile App.

I do not want to support 3rd part OAUTH, I want to go for First Party OAUTH

where:

- User supplies username/password.

- Mobile App calls a REST API to login and recieves a Token on successful login.

- The Mobile App then calls successive REST APIs and keeps passing the Token in

  the request header.

I can only find the REST 2.0 Development Guide which talks about only supporting

a custom Apex-Session request header for First Party authentication and not user

name password.

On another front, I want to be able to intercept the REST PLSQL Procedures to

pass some application context that needs to be reinstated on every call similar

to apps_initialize in E-Business Suite if you are familiar with that. Is there

a way to have pre-processing for procedure call where I can get information from

the request header and then set this kind of context?

Comments

adim
A fresh install got around the issue. Any idea why this would happen?
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 23 2015
Added on May 26 2015
0 comments
456 views