How to access authorize URL from own javascript channel

Hi,

we got a requirement to stop going from our domain to okta domain and come back to our domain, which is implicit flow of angular SPA.

is there a a way I can create a get request for the authorize url.

Thank you.

No, the /authorize endpoint only supports redirects. If you don’t want to leave your domain, you have two options:

Hi Nate,

Thank you for the info, is there any way I get access token, invoked by my ajax call.

Not from the frontend without one of the options above. Does the Angular sample not fit your case?