Skip to content

Commit

Permalink
fix double encoding of the redirect uri
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Jan 21, 2018
1 parent 44dcbda commit da9a80f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/auth-web.rb
Expand Up @@ -215,7 +215,8 @@ def save_response_type
save_response_type
session[:state] = params[:state]
session[:scope] = params[:scope]
session[:redirect_uri] = URI.encode params[:redirect_uri]
#session[:redirect_uri] = URI.encode params[:redirect_uri]
session[:redirect_uri] = params[:redirect_uri]

@redirect_uri = params[:redirect_uri]
@client_id = params[:client_id]
Expand Down

0 comments on commit da9a80f

Please sign in to comment.