As a developer when authenticating a user I will direct them to the auth routes /auth/:provider and expect them to Sign In to their chosen provider which will call back, Hower at the moment when I direct the user to a link such as this I get the response below
Error: invalid_request
Missing required parameter: client_id
Learn more
Request Details
client_id=
redirect_uri=http://mula.co.za/auth/google/callback
response_type=code
scope=email profile
That’s all we know.
Upon futher investigation it seems the application is loosing the configuration settings that are set using System.get_env
Actual Behavior
When we redirect someone for auth, the link breaks due to a missing client_id
Acceptance Criteria
The authorization redirect should enable a user to login with their preffered provider
Expected Behavior
As a developer when authenticating a user I will direct them to the auth routes
/auth/:provider
and expect them to Sign In to their chosen provider which will call back, Hower at the moment when I direct the user to a link such as this I get the response belowUpon futher investigation it seems the application is loosing the configuration settings that are set using
System.get_env
Actual Behavior
When we redirect someone for auth, the link breaks due to a missing
client_id
Acceptance Criteria
The authorization redirect should enable a user to login with their preffered provider
Steps to Reproduce the Problem
Specifications