+ Start a Discussion

oauth access token from session id

I am trying to SSO between safari browser and an ipad app (ios) .if the user is already logged in to salesforce.com in safari , I want to seamlessly login the user (without asking for credentials) in the app. Any ideas?

This is my thought, if we gett the current user's session id in apex class and pass it to the app, some how the app can ask for oauth access token? (I understand that we can use session id to make rest calls) ,but the backend API of the app require oauth token . or any other way to achieve this?