mythicalprogrammer / fumigate

0 stars 0 forks source link

Guardian sign up isn't working #144

Closed mythicalprogrammer closed 5 years ago

mythicalprogrammer commented 5 years ago

Undo the API login thing and maybe remove the guardian identity

mythicalprogrammer commented 5 years ago

It's gotta be something with the router.ex file

mythicalprogrammer commented 5 years ago

There's no pipeline for browser to hold session check this link out for explanation https://itnext.io/user-authentication-with-guardian-for-phoenix-1-3-web-apps-e2064cac0ec1

Also check this link to create pipeline:

https://github.com/ueberauth/guardian/blob/master/guides/tutorial/start-tutorial.md

mythicalprogrammer commented 5 years ago

Misunderstanding , it was working all along

Turns out it only care about route that are protected.

Non-protected route - function under guardian will not work with this. Use assign to assign to conn and work with that.