ueberauth / ueberauth_identity

A username/password Strategy for Überauth
MIT License
79 stars 21 forks source link

Using Strategy.Identity: AuthView.render/2 is undefined (module MyApp.AuthView is not available) #30

Closed ndrean closed 2 years ago

ndrean commented 2 years ago

Steps to Reproduce

Set as the example. Phoenix 1.13

Expected Result

Render the page "request.html.heex" when using Strategy.Identity

Actual Result

On signin with username/pwd, you send a request "GET /auth/identity", but even if "views/auth_view.ex" exists, I get an "AuthView.render/2 is undefined, and MyApp.AuthView is not available. Request: GET /auth/identity (exit) an exception was raised: (UndefinedFunctionError) function MyApp.AuthView.render/2 is undefined (module MyApp.AuthView is not available) MyApp.AuthView.render("request.html", %{callback_url: "http://localhost:4000/auth/identity/callback",...