Skip to content

Commit dd0b081

Browse files
committed
feat(oauth): change TB beta gmail config to updated client id
1 parent 1875463 commit dd0b081

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
@@ -42,19 +42,18 @@ class TbOAuthConfigurationFactory : OAuthConfigurationFactory {
4242
)
4343
}
4444

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

0 commit comments

Comments
 (0)