Closed barberj closed 4 years ago
I think it's because you got it set up as:
scope "/", MaitreDWeb do
pipe_through :api
oauth_api_routes()
end
scope "/", MaitreDWeb do
pipe_through [:browser, :protected]
oauth_routes()
end
You should remove the alias, and just keep it like this:
scope "/" do
pipe_through :api
oauth_api_routes()
end
scope "/" do
pipe_through [:browser, :protected]
oauth_routes()
end
Thanks for quick response. That fixed it.
I ran the generators for both this repo and ex_oauth2_provider. Is the ApplicationController suppose to be manually created and if so do you have directions around its context?