dewet
AEAsh Elixir
•Created by dewet on 9/26/2023 in #support
Auth0 "Authentication Error" without any helpful details
I followed the instructions for Ash Authentication Phoenix and got password auth working with some help.
Then I tried to switch to Auth0 using this quickstart: https://ash-hq.org/docs/guides/ash_authentication/latest/tutorials/auth0-quickstart
Here are the changes I ended up with https://github.com/dewetblomerus/red/pull/2/files
Now, when I click the "Sign In" button and go to
/sign-in
I see a nice "Sign in with Auth0" button.
When I click it, I go to /auth/user/auth0
which renders a blank page with the words: "Authentication Error".
Server logs:
My versions of things:
20 replies
AEAsh Elixir
•Created by dewet on 9/23/2023 in #support
AshAuthenticationPhoenix Reset Password errors after following the guide
After following the AshAuthenticationPhoenix guide. Everything works except following the reset password link, which raises an error.
I followed this guide https://ash-hq.org/docs/guides/ash_authentication_phoenix/latest/tutorials/getting-started-with-ash-authentication-phoenix
Ended up with this code https://github.com/dewetblomerus/red (This is the relevant commit: https://github.com/dewetblomerus/red/commit/3600d53a565c55dbe3f6dedba6e07138335dfab7)
I use http://localhost:4000/dev/mailbox to get the reset password link
Here is the error:
protocol Enumerable not implemented for %AshAuthentication.Strategy.Password.Resettable{
The stack trace:18 replies