Skip to content

Commit 2cbaef0

Browse files
committed
WIP: Google auth
1 parent e58fbb1 commit 2cbaef0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ios/OAuthManager/OAuth2Client.m

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ - (DCTOAuth2Account *) getAccount:(NSString *)providerName
9595
NSString *username = [cfg valueForKey:@"username"];
9696
NSString *password = [cfg valueForKey:@"password"];
9797

98+
NSLog(@"getAccount config: %@", cfg);
9899
if (access_token_url != nil) {
99100
account = [[DCTOAuth2Account alloc] initWithType:providerName
100101
authorizeURL:authorize_url

lib/authProviders.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const authProviders = {
4545
},
4646
'google': {
4747
auth_version: "2.0",
48-
authorize_url: 'https://accounts.google.com/o/oauth2/v2/auth',
48+
authorize_url: 'https://accounts.google.com/o/oauth2/auth',
4949
access_token_url: 'https://accounts.google.com/o/oauth2/token',
5050
callback_url: ({app_name}) => `${app_name}:/oauth-response`,
5151
validate: validate()

0 commit comments

Comments
 (0)