AshAuthentication custom strategy UI
I am trying to implement a custom strategy that verifies the user login with some custom rules, but after following this documentation i am stuck on where to implement the UI (https://hexdocs.pm/ash_authentication/custom-strategy.html)
Is there any demo project that can serve as a reference for this? Do i just use UI Overrides? (https://hexdocs.pm/ash_authentication_phoenix/ui-overrides.html)
3 Replies
i don't think there is a demo for it
not sure how it works, you may need to spelunk
got busy suddenly but will try to look at the source code sometime, i saw there was an ash_authentication_firebase dep but it seems to use the same UI as the other OAuth2 strategies so there is no ui
I tried to duplicate the Password Strategy from the source code hoping it would use the same for but nothing shows up i assume because it is linked to the original strategy struct, so will just try to make a new live view for the new custom strategy
but am getting:
tried to follow this post https://elixirforum.com/t/customizing-ash-authentication-for-dummies-like-me/66206
so i have:
Elixir Programming Language Forum
Customizing ash_authentication for dummies (like me)
I’ve been needing to customize our sign in, register, reset password, and forgot password pages for months. Every time I took a look at the ash_authentication_phoenix pages/code I ran away crying. And blog posts like Customising Ash Authentication with Phoenix LiveView did not make it seem easier. After taking the plunge last night (due to ye...