Check app ID on oidc auth
This commit is contained in:
parent
ae85c3fd24
commit
5391c7c6d6
@ -154,7 +154,7 @@ class OpenIDController extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the user has already authorized this app, just redirect
|
// If the user has already authorized this app, just redirect
|
||||||
if ( req.user.has_authorized({ id: params.client_id }) ) {
|
if ( req.user.has_authorized({ id: application.id }) ) {
|
||||||
return res.redirect(`/openid/interaction/${uid.toLowerCase()}/grant`)
|
return res.redirect(`/openid/interaction/${uid.toLowerCase()}/grant`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user