fix: missing parameter type_token_hint in IntrospectToken() (#2812)

* fix: missing parameter type_token_hint in IntrospectToken(); fix key token type
This commit is contained in:
Ron
2024-03-16 22:39:04 +05:00
committed by GitHub
parent 96812f676b
commit a19060c7cb
2 changed files with 20 additions and 16 deletions

View File

@ -317,7 +317,8 @@ func (c *ApiController) IntrospectToken() {
return
}
token, err := object.GetTokenByTokenValue(tokenValue)
tokenTypeHint := c.Input().Get("token_type_hint")
token, err := object.GetTokenByTokenValue(tokenValue, tokenTypeHint)
if err != nil {
c.ResponseTokenError(err.Error())
return