You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless explicitly configured by the user, redirect will have a nil value, which omniauth_openid_connect will handle by constructing the following authorization uri:
Other Omniauth providers I have looked at use Omniauth's callback_url method to set the redirect_uri to a sensible default value when the user does not explicitely specify it. This makes configuration of OpenID Connect a little easier, by relieving the users from having to try and guess the correct callback URL when configuring an application that uses Omniauth.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Context: I am setting up Greenlight for use with OpenIDConnect through your library
The initialization happens this way:
Unless explicitly configured by the user,
redirect
will have anil
value, which omniauth_openid_connect will handle by constructing the following authorization uri:http://my.provider/authorize?client_id=1234&nonce=8225bfbd740e8909a54ff97f536c3c18&response_type=code&scope=email%20profile%20openid&state=8f8c4887392f8bcbdcdc195704e53f44
redirect_uri is missing, which is not valid per the OIDC spec
Other Omniauth providers I have looked at use Omniauth's
callback_url
method to set the redirect_uri to a sensible default value when the user does not explicitely specify it. This makes configuration of OpenID Connect a little easier, by relieving the users from having to try and guess the correct callback URL when configuring an application that uses Omniauth.I have tried the following change:
which works for my use case, but breaks the unit tests in ways I cannot understand as someone not very familiar with Ruby
The text was updated successfully, but these errors were encountered: