mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-08 00:50:28 +08:00
feat: fix issue that introspectionResponse uses Bearer instead of raw tokenType (#3399)
This commit is contained in:
@ -402,6 +402,7 @@ func (c *ApiController) IntrospectToken() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
introspectionResponse.TokenType = token.TokenType
|
||||||
|
|
||||||
c.Data["json"] = introspectionResponse
|
c.Data["json"] = introspectionResponse
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
|
Reference in New Issue
Block a user