spookygames / flarum-ext-auth-keycloak

Keycloak OAuth Flarum Extension
MIT License
17 stars 3 forks source link

Solution : "Failed to update Flarum User" when have no account #22

Closed julienfollow closed 2 years ago

julienfollow commented 2 years ago

Hello I'm here to explain a non explicit error. If you use this extension and you have user who can connect with keycloak but not have account on Flarum (in database). You need to keep enable the option "Sign up". Why ? Because, if you disable the sign up option, a message appear : Failed to update Flarum User.

This restriction is in RegisterUSerHandler class in flarum core and the guilty line =>

image

arthurtemple commented 2 years ago

I updated the readme, thanks!