I’m new to otka and I’m having a problem with oktas login page. I’m using oauth2 code flow and have setup custom login page subdomain (accounts.app)
“www.app > User clicks login > Redirects to accounts.app > user enters user and pass > Redirects back to “www.app” with code”
So far all good, I’m able to receive code and authenticate the user passing the code to okta token endpoint and receive the token.
The problem I’m struggling to figure out now, is when the user now goes back to accounts.app.com, it shows the login form again with user and password field, however I would like it to automatically redirect the user back to “www.app” or some other custom domain/path. Is this possible to achieve?
I would really appreciate any hints or tips. Thanks!