fix: return error when delegating user in jwt profile request (#94)
This commit is contained in:
parent
d6cc89819b
commit
a2601f1584
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ func VerifyJWTAssertion(ctx context.Context, assertion string, v JWTProfileVerif
|
|||
|
||||
if request.Issuer != request.Subject {
|
||||
//TODO: implement delegation (openid core / oauth rfc)
|
||||
return nil, errors.New("delegation not yet implemented, issuer and sub must be identical")
|
||||
}
|
||||
|
||||
keySet := &jwtProfileKeySet{v.Storage(), request.Issuer}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue