Skip to content

Commit 9f7d32d

Browse files
authored
Merge pull request #9879 from wmontwe/feat-oauth-update-tb-beta-gmail-config
feat(oauth): change TB beta gmail config to updated client id
2 parents 3b78eb2 + dd0b081 commit 9f7d32d

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

app-thunderbird/src/beta/AndroidManifest.xml

Lines changed: 0 additions & 39 deletions
This file was deleted.

app-thunderbird/src/beta/kotlin/net/thunderbird/android/auth/TbOAuthConfigurationFactory.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,18 @@ class TbOAuthConfigurationFactory : OAuthConfigurationFactory {
4444
)
4545
}
4646

47-
// TODO: Update clientId and redirectUri once new client ID is available
4847
private fun createGmailConfiguration(): Pair<List<String>, OAuthConfiguration> {
4948
return listOf(
5049
"imap.gmail.com",
5150
"imap.googlemail.com",
5251
"smtp.gmail.com",
5352
"smtp.googlemail.com",
5453
) to OAuthConfiguration(
55-
clientId = "560629489500-rvmv3suifbrl1888pl6ppulog8krnlcp.apps.googleusercontent.com",
54+
clientId = "560629489500-u95g9r3m604k2f1uqb5c7mo27coj8g9i.apps.googleusercontent.com",
5655
scopes = listOf("https://mail.google.com/"),
5756
authorizationEndpoint = "https://accounts.google.com/o/oauth2/v2/auth",
5857
tokenEndpoint = "https://oauth2.googleapis.com/token",
59-
redirectUri = "${BuildConfig.APPLICATION_ID}.mobile:/oauth2redirect",
58+
redirectUri = "${BuildConfig.APPLICATION_ID}:/oauth2redirect",
6059
)
6160
}
6261

0 commit comments

Comments
 (0)