Right now, if a step in the OIDC authentication check fails, then a 500 error is returned. We should actually return an error the user can act upon.
Commit 2c029198 fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/1147
Please continue any further discussion there.