mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
Bug - Issue with OIDC (Pocket-ID) Login on frontend of Godoxy #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simon-dmsn on GitHub (May 26, 2025).
Hey !
Thank you for all your work :)
Since few updates, I now have troubles to connect on the frontend of Godoxy. I keep getting this error :
I tried to logout through the button on the top right corner but doesn't work either afterwards
.
One way to successfully login is to login through the middleware on another app (Dozzle for example) and when I go back to Godoxy I am connected. So it seems that there is a problem on redirecting the login ?
It worked perfectly before, life few updates back !
I followed again the tutorial on your wiki in case something had changed, but It didn't help.
I'm totally fine with the way I log on now but I just put the issue here if it is something you want or can solve !
Have a nice day !
Simon
@yusing commented on GitHub (May 26, 2025):
I've changed the redirect mechaism few versions ago, on the frontend. Now you have to set header
Access-Control-Allow-Originto at least*.yourdomain.com(as well as the IdP domain if it's outside of GoDoxy) according to the web security standard. Check out config.example.yml for a reference.An alternative way is to add the OIDC middleware to the frontend.
Will look for a better way to fix this.
@yusing commented on GitHub (May 29, 2025):
I've refined the redirect mechanism, please try it out with v0.13.6.
@simon-dmsn commented on GitHub (Jun 1, 2025):
Works like a charm !
Thank you for your reactivity and your help :)