mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 19:54:39 -05:00
fix: respect the user defined oauth2 auth method (#3727)
This commit is contained in:
parent
1e12ca4786
commit
33804d8823
@ -726,11 +726,11 @@ let needSetup = false;
|
|||||||
bean.basic_auth_user = monitor.basic_auth_user;
|
bean.basic_auth_user = monitor.basic_auth_user;
|
||||||
bean.basic_auth_pass = monitor.basic_auth_pass;
|
bean.basic_auth_pass = monitor.basic_auth_pass;
|
||||||
bean.timeout = monitor.timeout;
|
bean.timeout = monitor.timeout;
|
||||||
bean.oauth_client_id = monitor.oauth_client_id,
|
bean.oauth_client_id = monitor.oauth_client_id;
|
||||||
bean.oauth_client_secret = monitor.oauth_client_secret,
|
bean.oauth_client_secret = monitor.oauth_client_secret;
|
||||||
bean.oauth_auth_method = this.oauth_auth_method,
|
bean.oauth_auth_method = monitor.oauth_auth_method;
|
||||||
bean.oauth_token_url = monitor.oauth_token_url,
|
bean.oauth_token_url = monitor.oauth_token_url;
|
||||||
bean.oauth_scopes = monitor.oauth_scopes,
|
bean.oauth_scopes = monitor.oauth_scopes;
|
||||||
bean.tlsCa = monitor.tlsCa;
|
bean.tlsCa = monitor.tlsCa;
|
||||||
bean.tlsCert = monitor.tlsCert;
|
bean.tlsCert = monitor.tlsCert;
|
||||||
bean.tlsKey = monitor.tlsKey;
|
bean.tlsKey = monitor.tlsKey;
|
||||||
|
Loading…
Reference in New Issue
Block a user