Fix OpenID Connect TokenEndpoint when client id is not found
This commit is contained in:
parent
385ab76077
commit
1adb4837ef
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ module Api
|
||||||
end
|
end
|
||||||
|
|
||||||
def app_valid?(o_auth_app, req)
|
def app_valid?(o_auth_app, req)
|
||||||
o_auth_app.client_secret == req.client_secret
|
o_auth_app.try(:client_secret) == req.client_secret
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue