N5GEH / n5geh.tools.entirety

GNU General Public License v3.0
9 stars 6 forks source link

OIDC Auth: Implement response when user does not have role "user" #183

Open SBlechmann opened 4 months ago

SBlechmann commented 4 months ago

Currently, when using OIDC Auth, there is no feedback when you try to login with a user that does not have the role "user". You are just redirected to the login page again without seeing any response.

Maybe there is something in the OIDC plugin or we just throw a custom message.

SBlechmann commented 1 month ago

When connected to the OICD provider, users must come with a (currently not necessarily verified) email address. Without email address, the login just ends up in a loop.