Shukhrat | 2025-03-07 09:18:31 UTC | #1
Hello, please help me with this issue
I know this is repeated question, but I really need workaround solution, any suggestion would be helpful.
when user not logged in to Genesys, login implicit grant automaticaly redirecting to login page of Genesys. However, I need to make it to redirect to my app, when authorization fails with implicit grant. I could not get any error from loginImplicitGrant so that I could handle the redirection.
how I can handle this or is there any setting that needs to be set, to handle custom redirection when login fails? or is there any way to check if genesys cloud accessed on the same browser before trying loginImplicitGrant?
Jerome.Saint-Marc | 2025-03-07 14:26:16 UTC | #2
Hello,
What do you mean by "when authorization fails"?
If you mean being redirected when the username and/or password is inccorect, then no, it is not possible.
Regards,
Shukhrat | 2025-03-07 14:39:30 UTC | #3
Hi, sorry, I mean when authentication failed! when user not logged in to Genesys, I want to redirect to my app, but loginImplicitGrant is redirecting to Login Page of Genesys
Jerome.Saint-Marc | 2025-03-07 14:45:05 UTC | #4
Still not clear.
Jerome.Saint-Marc, post:2, topic:32086
If you mean being redirected when the username and/or password is incorrect, then no, it is not possible.
Regards,
Shukhrat | 2025-03-07 14:50:28 UTC | #5
client.loginImplicitGrant(clientId, redirectUrl);
I am trying to connect to Genesys with above code in my app. When Genesys Cloud Admin dashboard is open on the same browser, it works, I can connect, and initiate call from my website. But when Genesys Cloud Admin is not opened on the same browser, my app is trying to connect, but it is redirected to Genesys login page as we dont have genesys connection on the same browser.
I need to prevent this behaviour
system | 2025-04-07 14:51:05 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 32086