Duplicate Login Request

Our team has developed a Single Page Application with Vue.js and OKTA with an Implicit Flow and PKCE. It works great when you go directly to the application URL. However, if I launch the application from OKTA My Applications, the OKTA Browser Plugin or the OKTA Mobile App I am asked to login again via the custom login page of our app.

I assume that if we have already authenticated with OKTA we should not need to logon again from our application. Is there something we missed? Any ideas on where to look would be appreciated.

Hi @jkauczka

To narrow down the issue, under Admin >> Applications >> your OIDC application >> General, can you please provide the option used for “Login flow”?

Hi @dragos . The login flow is Redirect to app to initiate login (OIDC Compliant)

Hi @jkauczka

This option redirects the users to your website, append an iss query parameter containing your Okta organization. In order to use it successfully, you will need to have a custom logic to read the query parameter and redirect to the authorization endpoint accordingly.

An easier option would be to copy the URL for the authorization endpoint (including the query parameters) and then paste it inside the Initiate login URI section. When a user will click the link, they will be redirected to the authorization endpoint and then to your application.