mirror of
https://github.com/MirageNetwork/MirageServer.git
synced 2025-09-26 20:41:34 +08:00
增加offline access scope参数,并配合引用更新的dex,以实现登录状态失效后强制用户再次停留在三方授权界面。 #10
Signed-off-by: Chenyang Gao <gps949@outlook.com>
This commit is contained in:
@@ -126,7 +126,7 @@ func (s *SysConfig) toSrvConfig() (*Config, error) {
|
||||
Issuer: "https://" + s.ServerURL + "/issuer",
|
||||
ClientID: "MirageServer",
|
||||
ClientSecret: s.DexSecret,
|
||||
Scope: []string{"openid", "profile", "email", "groups", "name"},
|
||||
Scope: []string{"offline_access", "openid", "profile", "email", "groups", "name"},
|
||||
ExtraParams: map[string]string{"prompt": "login"},
|
||||
}
|
||||
|
||||
|
2
dex
2
dex
Submodule dex updated: f2f9580889...18ee5fcf60
Reference in New Issue
Block a user