GoogleAuthUtil.getToken中的GoogleAuthException

时间:2015-01-29 10:06:30

标签: android android-activity android-fragments

我遇到令牌问题:

static final String GOOGLE_SCOPE_TAKE2 = "audience:server:client_id:";
static final String CLIENT_ID_WEB_APPS = "XXXXX.apps.googleusercontent.com";
static final String GOOGLE_ID_TOKEN_SCOPE = GOOGLE_SCOPE_TAKE2 + CLIENT_ID_WEB_APPS;

GoogleAuthUtil.getToken(ClientSideLoginActivity.this, accountName, String.format(GOOGLE_ID_TOKEN_SCOPE));

例外是Unknown

0 个答案:

没有答案