fix: add missing info for openid config

Resolves #304
This commit is contained in:
Lakhan Samani
2023-03-04 16:11:37 +05:30
parent 8863140e75
commit 149d0cac7a
4 changed files with 3 additions and 6 deletions

View File

@@ -403,7 +403,6 @@ func CreateIDToken(user models.User, roles []string, hostname, nonce, atHash, cH
"login_method": loginMethod,
claimKey: roles,
}
// split nonce to see if its authorization code grant method
if cHash != "" {
customClaims["at_hash"] = atHash