mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-18 22:38:09 +08:00
v1.2.1 GA
SAML 2.0 optimization,support 阿里云、腾讯云 SSO maxkey-mgt main report APPS ExtraAttr fix ui bugs remove maxkey-jose-jwt dep com.nimbusds nimbus-jose-jwt dep net.jcip jcip-annotations dep net.minidev json-smart dep net.minidev asm
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 = "http://sso.maxkey.org/maxkey";
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.org/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 = "http://sso.maxkey.org/maxkey";
|
||||
private static final String DEFAULT_WEB_URL = "https://sso.maxkey.org/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