Displaying 1 result from an estimated 1 matches for "preferred_username".
2020 Feb 14
0
Dovecot Proxy - Oauth2 mech add custom fields
...ms/example/protocol/openid-connect/token/introspect
The call pass to Keyclock only master_user and miss mailbox info.
In fact, the JSON response after login return the only username without mailbox:
[...]
"scope": "profile email",
"email_verified": false,
"preferred_username": "dome.nico"
[...]
When Dovecot proxy connects to the backend, email attribute and user have the same value, master-user.
This behavior is a problem because when backend tries login access, login with the user and not with the mailbox.
This is backend logging:
2020-02-13 19:34:1...