mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-06 16:58:24 +08:00
Merge branch 'dev' of github.com:justauth/JustAuth into dev
g the commit.
This commit is contained in:
commit
74b5b4b3bc
@ -382,6 +382,7 @@ public enum AuthDefaultSource implements AuthSource {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Google
|
* Google
|
||||||
|
* 端点地址:https://accounts.google.com/.well-known/openid-configuration
|
||||||
*/
|
*/
|
||||||
GOOGLE {
|
GOOGLE {
|
||||||
@Override
|
@Override
|
||||||
@ -391,12 +392,12 @@ public enum AuthDefaultSource implements AuthSource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String accessToken() {
|
public String accessToken() {
|
||||||
return "https://www.googleapis.com/oauth2/v4/token";
|
return "https://oauth2.googleapis.com/token";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String userInfo() {
|
public String userInfo() {
|
||||||
return "https://www.googleapis.com/oauth2/v3/userinfo";
|
return "https://openidconnect.googleapis.com/v1/userinfo";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user