lib/omniauth/strategies/auth0.rb in omniauth-auth0-2.3.1 vs lib/omniauth/strategies/auth0.rb in omniauth-auth0-2.4.0

- old
+ new

@@ -84,18 +84,18 @@ # Define the parameters used for the /authorize endpoint def authorize_params params = super parsed_query = Rack::Utils.parse_query(request.query_string) - %w[connection prompt].each do |key| + %w[connection connection_scope prompt screen_hint].each do |key| params[key] = parsed_query[key] if parsed_query.key?(key) end # Generate nonce params[:nonce] = SecureRandom.hex # Generate leeway if none exists params[:leeway] = 60 unless params[:leeway] - + # Store authorize params in the session for token verification session['authorize_params'] = params params end