mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-17 14:00:43 +08:00
sso.maxkey.top
This commit is contained in:
@@ -4,7 +4,7 @@ import org.maxkey.client.oauth.model.Token;
|
||||
|
||||
public class MaxkeyApi10a extends DefaultApi10a
|
||||
{
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.org/maxkey";
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.top/maxkey";
|
||||
private static final String AUTHORIZATION_URL = DEFAULT_WEB_URL+"/oauth/v10a/authz?oauth_token=%s";
|
||||
|
||||
public MaxkeyApi10a() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.maxkey.client.utils.Preconditions;
|
||||
|
||||
public class MaxkeyApi20 extends DefaultApi20 {
|
||||
//approval_prompt:force or auto
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.org/maxkey";
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.top/maxkey";
|
||||
|
||||
private static final String AUTHORIZATION_URL = "%s/oauth/v20/authorize?client_id=%s&response_type=code&redirect_uri=%s&approval_prompt=auto";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user