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
We should be using phoenix_gen_auth, this was a community library that has since been merged into Phoenix since 1.6.
As an unauthenticated user, accessing the web frontend I will get a login screen page. Once I enter my email or username (one input) and correct password, I am redirected to the original address I tried to access.
If I enter my details incorrectly, I am presented with a flash message.
We should be using
phoenix_gen_auth
, this was a community library that has since been merged into Phoenix since 1.6.As an unauthenticated user, accessing the web frontend I will get a login screen page. Once I enter my email or username (one input) and correct password, I am redirected to the original address I tried to access.
If I enter my details incorrectly, I am presented with a flash message.
This appears to be a very thorough article:
https://www.leanpanda.com/blog/authentication-and-authorisation-in-phoenix-liveview/
The text was updated successfully, but these errors were encountered: