Open sharjeel-jan opened 2 years ago
hi @sharjeel-jan ,
Thank you very much for your issue.
Do you have an error in the console? or something that may help :)
Do you see in the requests debug tab an uri with "#callback" in the url?
Hi @guillaume-chervet
Thanks for getting back to me so quick, I see no error in the console and I dont believe I see an #callback in any of the URLS
I've attached a screenshot below of the network tab
Thank you @sharjeel-jan , that strange.
I may need more information to help you.
Did you tried your configuration on the code of that repository? (after clone and replace configuration value by yours)
I havent yet tried my configuration with the example code, I'll try that and get back to you, thanks
Hi @guillaume-chervet
Running with the example code I get the following after pressing Login
Do you know if you oidc provider support hash redirect? It seem to redirect on the path without the hash.
I am not sure but what happen if you replace ${window.location.origin}/automagiqapps/ui/#callback By ${window.location.origin}/automagiqapps/ui#callback
Any update on this @sharjeel-jan? i seem to have a simular issue
hi @sharjeel-jan, did you solve your problem?
It seems that @sharjeel-jan is using Azure AD or similar as an IDP. You might wanna ensure that the redirect uris configured for your frontends client id have been configured as a "spa" instead of "web" app.
Issue and Steps to Reproduce
Failing to redirect to specified page after being logged in, the page gets stuck with the callback url being filled -
I've tried to add the customCallback but that doesnt seem to resolve the issue, heres my current code -
App.js -
Login logic, pretty much copied from examples -
Versions
Screenshots
Expected
Redirected to specified route
Actual
Stuck on callback URL after pressing login and being authenticated
Additional Details