I am trying to use SSO and have users login. I am using the ruby on rails example setup code.
This is the error I receive:
omniauth: (auth0) Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: Missing required parameter: code
I can set a breakpoint in the omniauth lib and I can see that the body of the request looks like:
grant_type => authorization_code
code => nil
redirect_uri => http://0.0.0.0:3000/auth/auth0/callback
Where should this ‘code’ parameter be set - is it an option somewhere in the auth0 initialiser?