1
0
forked from baron/baron-sso

offline_access 스코프 유지 처리 및 refresh_token 발급 경로 수정

This commit is contained in:
2026-06-12 16:33:26 +09:00
parent e4680ec49d
commit bdd86f4d88
8 changed files with 28 additions and 19 deletions

View File

@@ -8430,7 +8430,7 @@ func buildHydraAuthorizationURL(clientID string, scopes []string, redirectURIs [
seen := map[string]struct{}{}
for _, scope := range append([]string{"openid"}, scopes...) {
scope = strings.TrimSpace(scope)
if scope == "" || isRefreshTokenScopeAlias(scope) {
if scope == "" || isLegacyRefreshTokenScopeAlias(scope) {
continue
}
if _, ok := seen[scope]; ok {