authenticate API Skip to main content
https://support.okta.com/help/answers?id=9062a000000dfm7qag&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Hemant ShuklaHemant Shukla 

authenticate API

Hello Team,

I have an application I developed that uses Okta for authentication.  Once a user authenticates to Okta, can I use their token to programmatically access other Okta-enabled apps via API? Our app doesn't have UI involved so its not browser related. 

What I need is, once user is authecticated to OCTA via primary authentication API and get the session token, what would be the next step or API calls which would be require to get an access of other pre-configured apps in Okta. Salesforce.com (Federated ID) app is a assigned application to Okta users. 

I saw the response on https://support.okta.com/help/answers?id=9062A000000QuZkQAK but couldn't get the exact steps need to be followed. Please provide sample call or code if possible.  

Thanks,
Hemant
Adrian HaisanAdrian Haisan (Okta, Inc.)
Hello Hemant,

Could you please check out the following documentation for our Authentication API:
https://developer.okta.com/docs/api/resources/authn#primary-authentication-with-activation-token
https://developer.okta.com/use_cases/authentication/
I also do recommend myself to post the question above on the Developer Forum as you would be receiving an answer from our development team.
https://devforum.okta.com/

Thank you,
Adrian Haisan
Dylann FezeuDylann Fezeu (Customer First Programs)
Hello,

Thanks for posting your inquiry in Okta Community Portal.

​If you receive a great answer to your question(s), please help readers find it by marking it the best answer. Hover over the answer and click "Best Answer." 

Thank you,

​Dylann Fezeu
OHC Team