Hello,export
im using a Genesys Blueprint:
https://developer.genesys.cloud/blueprints/messenger-authentication-okta-integration-blueprint/
However, we encountered some problems.
I have successfully logged in at https://genesyscloudblueprints.github.io/messenger-authentication-okta-integration-blueprint/oauth.html?
After logging in, the URL becomes:
https://genesyscloudblueprints.github.io/messenger-authentication-okta-integration-blueprint/oauth.html?code=di2cLoy68C_k_YR61HT2mG9GPa3OAnLNv0kradvX1YA&state=NzNpKarJp3gGncFabUCBG8tur3d1GxyyMtlbjYv3p0xCkNFBDbgcJXRIsYL9NZ
Also, I can see the logs in Okta, which should also confirm that I logged in successfully:
Mar 23 10:27:56 Genesys test (PublicClientApp)
OAuth2 authorization code request
SUCCESS
luote xia (User)
Authorization Code (code)
Mar 23 10:27:55
luote xia (User)
Verify user identity
SUCCESS
Password (AuthenticatorMethod)
Genesys test (AppInstance)
Mar 23 10:27:55
luote xia (User)
User login to Okta
SUCCESS
Password (AuthenticatorEnrollment)
OpenID Connect Client (AppInstance)
Mar 23 10:27:53
luote xia (User)
Authentication of user via MFA
SUCCESS
luote xia (User)
Password (AuthenticatorEnrollment)
Mar 23 10:27:53
luote xia (User)
Evaluation of sign-on policy
CHALLENGE
OpenID Connect Client (AppInstance)
Default Rule (Rule)
This clearly proves that I have logged in successfully. However, the UI button keeps showing "signing in". From reading the code, the UI should change to "Sign out" once login is successful.
Could you please help me check where the problem might be?
#WebMessaging------------------------------
Wenyan Ma
Director
------------------------------