How does OKTA handle ACS's response? Can we make OKTA return control to client SPA in the browser along with the return values? Skip to main content
https://support.okta.com/help/answers?id=906f0000000i0jzia0&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:
Sudip TalukderSudip Talukder 

How does OKTA handle ACS's response? Can we make OKTA return control to client SPA in the browser along with the return values?

Ours is a single page application and this is what we are doing in brief:
1) User opens our login-page which is in JS and provides the username.
2) If the user has to be authenticated using Okta (which is determined in back-end), we are redirecting to okta page, where the user enters username and password.
3) We have provided an URL for handling SAML, where we get a POST request, we process the SAML generate our application specific token and return back.
Now the problem here is when we return from backend the control does not go back to our application specific JS code. Is there any way to tell Okta to hand over the response to a particular JS file?
Best Answer chosen by Niki (Okta, Inc.) 
Raphael LondnerRaphael Londner (Okta, Inc.)
Hi Sudip,

This is a highly technical question so I suggest that you contact our developer support at developers@okta.com to handle it. Please provide as much information and your JS code if possible so we can reproduce your issue in-house.

Thank you,

Raphael.