fix(server): do not get client by id for introspection
As introspection is a Oauth mechanism for resource servers only, it does not make sense to get an oidc client by ID. The original OP did not do this and now we make the server behavior similar.
This commit is contained in:
parent
bab5399859
commit
2d7d92a8a3
5 changed files with 55 additions and 25 deletions
|
@ -65,3 +65,8 @@ func ParseTokenIntrospectionRequest(r *http.Request, introspector Introspector)
|
|||
|
||||
return req.Token, clientID, nil
|
||||
}
|
||||
|
||||
type IntrospectionRequest struct {
|
||||
*ClientCredentials
|
||||
*oidc.IntrospectionRequest
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue