mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-09-20 06:46:17 +08:00
Update sso.rs
This commit is contained in:
parent
14ca1bc0c6
commit
0c3567b300
|
@ -41,6 +41,10 @@ impl SsoClient {
|
|||
)
|
||||
.set_redirect_uri(Cow::Owned(redirect_url.clone()));
|
||||
|
||||
for (k, v) in self.config.extra_parameters() {
|
||||
auth_req = auth_req.add_extra_param(k, v);
|
||||
}
|
||||
|
||||
for scope in self.config.scopes() {
|
||||
auth_req = auth_req.add_scope(Scope::new(scope.to_string()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue