feat: fix issue that introspectionResponse uses Bearer instead of raw tokenType (#3399)

This commit is contained in:
DacongDA 2024-12-05 20:59:30 +08:00 committed by GitHub
parent 6175fd6764
commit 1d21c3fa90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -402,6 +402,7 @@ func (c *ApiController) IntrospectToken() {
return
}
}
introspectionResponse.TokenType = token.TokenType
c.Data["json"] = introspectionResponse
c.ServeJSON()