-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels