Small correction to web example
This commit is contained in:
parent
2b63b591ba
commit
72fb8df541
|
@ -92,7 +92,7 @@ get('/authorize') do
|
||||||
user_id = request.session['user_id']
|
user_id = request.session['user_id']
|
||||||
credentials = authorizer.get_credentials(user_id, request)
|
credentials = authorizer.get_credentials(user_id, request)
|
||||||
if credentials.nil?
|
if credentials.nil?
|
||||||
redirect authorizer.get_authorization_url(user_id: user_id, request: request)
|
redirect authorizer.get_authorization_url(login_hint: user_id, request: request)
|
||||||
end
|
end
|
||||||
# Credentials are valid, can call APIs
|
# Credentials are valid, can call APIs
|
||||||
# ...
|
# ...
|
||||||
|
|
Loading…
Reference in New Issue