Authenticate users using Okta SignIn without redirecting the users to Okta page

How can we authenticate users using Okta SignIn without redirecting the users to Okta page?

In our ecommerce site, we want to integrate okta API, when the user login which should not redirect to okta login page, How can we achieve this without redirecting to okta login page?

  1. it should authenticate the user from background
  2. once the authentication completes, it returns the access token to load the application.

It sounds like you’re looking for embedded authentication, which you can do with Okta Auth JS. I suggest checking out our Okta AuthJS embedded auth sample app, which demonstrates how to do do this. You can configure this sample with your own org and client to test against.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.