• Force User.ax1263
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Goal is to authenticate from a native iOS app into Salesforce using Mobile SDK (using SFAuthenticationManager) and then obtain the id_token (open id token) that I can use to conenct to a third party service that's configured to work with openid authenticated clients.

I can do teh oAuth using the Mobile SDK  and I can get the oAuth Access token from SFOAuthCredentials object but I don't know how to get the openid token (id_token)

I know I can get this using the traditional oAuth workflowusing the URL shown below, but I am tryingt to use Mobile sdk for the authentication.
https://login.salesforce.com/services/oauth2/authorize?response_type=token+id_token&client_id=xxxxx&scope=openid. 

Is there anyway to get the openId token after I authenticate using mobile SDK.. something like this.. 
https://login.salesforce.com/services/oauth2/token?response_type=token+id_token&grant_type=refresh_token&client_id=xxxxxx&client_secret=111111&refresh_token=yyyyyyyyy
Goal is to authenticate from a native iOS app into Salesforce using Mobile SDK (using SFAuthenticationManager) and then obtain the id_token (open id token) that I can use to conenct to a third party service that's configured to work with openid authenticated clients.

I can do teh oAuth using the Mobile SDK  and I can get the oAuth Access token from SFOAuthCredentials object but I don't know how to get the openid token (id_token)

I know I can get this using the traditional oAuth workflowusing the URL shown below, but I am tryingt to use Mobile sdk for the authentication.
https://login.salesforce.com/services/oauth2/authorize?response_type=token+id_token&client_id=xxxxx&scope=openid. 

Is there anyway to get the openId token after I authenticate using mobile SDK.. something like this.. 
https://login.salesforce.com/services/oauth2/token?response_type=token+id_token&grant_type=refresh_token&client_id=xxxxxx&client_secret=111111&refresh_token=yyyyyyyyy

 

The oauth right now works for production salesforce instances.  Question: for Dreamforce should there be a different login URL?  Does OAuth2 even work for it?

 

Here is what I am using for the regular salesforce access

https://login.salesforce.com/services/oauth2/authorize

  • March 08, 2012
  • Like
  • 0