Skip to content

Fix JWT example #26

@GoogleCodeExporter

Description

@GoogleCodeExporter
I was playing with Goauth2 over JWT following the example but every time i 
tried the  config the auth server exploded with a "400 bad request"

After looking at the NewToken code itself it expresses that the argument  must 
be the isa but in the example used with my secret.json(downloaded from google 
cloud api access) file the correct parameter must be the "client_id" not the 
"client_email" (which come empty in my secret.json) after that the example 
worked and i can interact with the google api.


why the such difference ?




Original issue reported on code.google.com by [email protected] on 7 Nov 2013 at 12:43

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions