mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-06 08:48:27 +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
|
||||
* 端点地址:https://accounts.google.com/.well-known/openid-configuration
|
||||
*/
|
||||
GOOGLE {
|
||||
@Override
|
||||
@ -391,12 +392,12 @@ public enum AuthDefaultSource implements AuthSource {
|
||||
|
||||
@Override
|
||||
public String accessToken() {
|
||||
return "https://www.googleapis.com/oauth2/v4/token";
|
||||
return "https://oauth2.googleapis.com/token";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String userInfo() {
|
||||
return "https://www.googleapis.com/oauth2/v3/userinfo";
|
||||
return "https://openidconnect.googleapis.com/v1/userinfo";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user