feat: return new id_token when using refresh token (#925)

This commit is contained in:
Alessandro (Ale) Segala
2025-09-09 02:31:50 -07:00
committed by GitHub
parent 6c696b46c8
commit 307caaa3ef
4 changed files with 40 additions and 20 deletions

View File

@@ -828,7 +828,7 @@ func (oc *OidcController) getClientPreviewHandler(c *gin.Context) {
return
}
preview, err := oc.oidcService.GetClientPreview(c.Request.Context(), clientID, userID, scopes)
preview, err := oc.oidcService.GetClientPreview(c.Request.Context(), clientID, userID, strings.Split(scopes, " "))
if err != nil {
_ = c.Error(err)
return