Hi,
for my Angular 16 application, I use Okta’s widget (okta-signin-widget) to authenticate a user.
I installed the following dependencies via npm:
“@okta/okta-angular”: “^6.3.0”,
“@okta/okta-auth-js”: “^7.4.3”,
“@okta/okta-signin-widget”: “^7.12.2”
It’s an application to practice doing web projects. My okta domain is: dev-35353401.okta.com
I followed the documentation, and the steps which are very simple:
Create a new app integration
In Connection method I chose OICD - OpenID Connect
In Application Type, I chose Single Page Application
Next, in New Single Page App Integration:
The name of the application, then in Grant type: I checked Authorization Code and Refresh Token
Then in Login redirect URI: http://localhost:4200/login/callback
In Sign-out redirect URIs, referring to the home page of the Angular application, therefore http://localhost:4200
Finally, I checked Allow everyone in your organization to access
I left “Enable immediate access with Federation Broker mode” checked
Then I saved
When I connect with the bonss identifiers I am systematically then sent to okta, which means that I have to enter the identifier and password twice.
I cannot resolve this problem which is extremely frustrating. What didn’t I understand?