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
So I've had to pass acr_values to the OP and although these are defined as options OmniAuth::Strategies::OpenIDConnect class they are never passed to the final authorize URI. I've included them inside lib/omniauth/strategies/openid_connect.rb on line 127 like so:
def authorize_uri
client.redirect_uri = client_options.redirect_uri
opts = {
response_type: options.response_type,
scope: options.scope,
state: new_state,
nonce: (new_nonce if options.send_nonce),
hd: options.hd,
acr_values: options.acr_values # here is the line
}
client.authorization_uri(opts.reject{|k,v| v.nil?})
end
To my understanding this authorize URI should be flexible enough to include any option that could be passed in the authorize_uri not just the acr_values. Was there a reason this wasn't included in this version or am I missing something?
The text was updated successfully, but these errors were encountered:
So I've had to pass acr_values to the OP and although these are defined as options OmniAuth::Strategies::OpenIDConnect class they are never passed to the final authorize URI. I've included them inside lib/omniauth/strategies/openid_connect.rb on line 127 like so:
To my understanding this authorize URI should be flexible enough to include any option that could be passed in the authorize_uri not just the acr_values. Was there a reason this wasn't included in this version or am I missing something?
The text was updated successfully, but these errors were encountered: