Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:justauth/JustAuth into dev
Browse files Browse the repository at this point in the history
g the commit.
  • Loading branch information
zhangyd-c committed Aug 3, 2024
2 parents 6cc4149 + 74be7d4 commit 74b5b4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/me/zhyd/oauth/config/AuthDefaultSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ public Class<? extends AuthDefaultRequest> getTargetClass() {
},
/**
* Google
* 端点地址:https://accounts.google.com/.well-known/openid-configuration
*/
GOOGLE {
@Override
Expand All @@ -391,12 +392,12 @@ public String authorize() {

@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
Expand Down

0 comments on commit 74b5b4b

Please sign in to comment.