-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openid-based login broken since upgrade to 8.0.0? #5601
Comments
Not sure what's going on there. The openid authentication seems to be handled totally by pyramid-fas-openid and I cannot even see any line in the logs when the HTTP 500 / Internal Server Error page is triggered. |
Thanks for looking into it! Looks like I will soon need to bite the bullet anyway and implement OIDC or GSSAPI auth for fedora-update-feedback :( |
Yeah it looks like the log configuration is wrong, it does not log requests. I'll try to fix that |
OK I got the logs back in, and I see a traceback!
It does look familiar. |
Yeah I'm betting it's the default serializer that was switched to JSON in Pyramid 2.0 that's causing the problem, but I thought we had fixed that a long time ago to avoid having non-json-serializable stuff in the session. |
Yeah, I see it was handled in #4356 but pyramid_fas_openid is still used for |
Yeah I think so... Sorry @decathorpe ! |
I understand :( I know OpenID support was only kept for backwards compatibility, but I didn't know that I'd have to deal with this so soon 🫣 |
Yeah... You can have a look at how the bodhi client handles OIDC, if that can help. |
@decathorpe you know how fedora-easy-karma handles the auth process? It seems not to be affected, its working correctly until now. |
I think fedora-easy-karma got kerberos and / or OIDC support since it uses the official bodhi client bindings? |
I think it is this yeah https://pagure.io/fedora-easy-karma/blob/master/f/fedora-easy-karma.py |
If bodhi-server is not going to fix the OpenID endpoint, should it be removed and documented that it's no longer working? |
Browsing the URL that used to work with older bodhi versions:
https://bodhi.fedoraproject.org/login?method=openid
This returns a HTTP 500 / Internal Server Error page now.
The text was updated successfully, but these errors were encountered: