Redmine Open id connect plugin, "Login cannot be blank"
Added by Erik Fazio almost 6 years ago
I'm using Redmine 4.0.3 with the Open Id Connect plugin to use Keycloak authentication. Once configured all the parameters of the plugin if I try to login with a user not yet registered to redmine I get back a blank page with the indication "Login cannot be blank". Can you help me? I'll put you below a screenshot of the error, thanks in advance.
Replies (1)
RE: Redmine Open id connect plugin, "Login cannot be blank"
-
Added by Erik Fazio almost 6 years ago
I solved it by myself by doing the following two steps:
- In account_controller_patch.rb i replaced "username" with "preferred_username" on line 96 on oic_local_login function definition
- In oic_session.rb i deleted line 201 and 202 on end_session_query function which contained 'id_token_hint' and 'session_state' attributes of query object