Closed GoogleCodeExporter closed 9 years ago
The same issue persists with:
https://www.googleapis.com/oauth2/v2/certs
which makes logging in to our user system through a google account impossible
at the current time.
Original comment by Ntimi.Sc...@gmail.com
on 29 Oct 2014 at 4:39
I've made a workaround! Downloaded the certs, added into my application as
static content and rewrite the URL of the public certs. Here is the snippet:
final GoogleIdToken idToken = GoogleIdToken.parse(JSON_FACTORY, token);
final GooglePublicKeysManager manager = new
GooglePublicKeysManager.Builder(HTTP_TRANSPORT, JSON_FACTORY)
.setPublicCertsEncodedUrl("http://localhost:8080/static/certs.json").build();
final GoogleIdTokenVerifier verifier = new
GoogleIdTokenVerifier.Builder(manager)
.setAudience(Arrays.asList(CLIENT_ID)).build();
verifier.verify(idToken);
Original comment by auth.ga...@gmail.com
on 29 Oct 2014 at 6:36
Services seems to be ok now
Original comment by corfire....@gmail.com
on 29 Oct 2014 at 8:32
Original comment by wonder...@google.com
on 29 Dec 2014 at 4:58
Original issue reported on code.google.com by
auth.ga...@gmail.com
on 29 Oct 2014 at 7:23