You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes it's on localhost. It's not a big issue and I think as soon as the admin user authenticate with either Google or Github the auth_provider value is updated (need to double check this)
The seeds file create an admin user from the
ADMIN_EMAIL
environment variable:auth/priv/repo/seeds.exs
Lines 20 to 28 in 3a9d687
When login with this email using email/password the user is retreived from the database and the welcome page is displayed:
auth/lib/auth_web/controllers/auth_controller.ex
Lines 254 to 261 in 3a9d687
However when the user was created with the seed, the value
auth_provider
is nil which then create an error on the following line:https://github.com/dwyl/auth/blob/main/lib/auth_web/templates/auth/welcome.html.eex#L7
I think we can add the value
email
forauth_provider
for the adminThe text was updated successfully, but these errors were encountered: