Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6edccfe9 authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Change Google OAuth client-ID

parent 2b986f3a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ import retrofit2.http.POST;

public class GmailOAuth2TokenStore extends AndroidSpecificOAuth2TokenProvider {
    private static final String GOOGLE_API_BASE_URL = "https://www.googleapis.com/";
    private static final String CLIENT_ID = "739646490039-9pnem0cf4pmqair96j9dj0e9t0locc5l.apps.googleusercontent.com";
    private static final String CLIENT_ID = "739646490039-7h4e1cn4g4kqfp2fs90fqefe1asncg5l.apps.googleusercontent.com";
    private static final String REDIRECT_URI = "io.eelo.mail:/oauth2redirect";
    private static final String AUTHORIZATION_URL = "https://accounts.google.com/o/oauth2/v2/auth?" +
            "scope=https://mail.google.com/&" +
+0 −1
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ public class K9OAuth2TokenProvider extends OAuth2TokenProvider {
    public String getToken(String email, long timeoutMillis)
            throws AuthenticationFailedException, OAuth2NeedUserPromptException {
        getTokenFromAccountManager(email);
        Log.i("OAuth token value", authToken);
        if (authToken != null) {
            return authToken;
        }