Skip to content

how to get an access token for detail #63

@zeguangzhang

Description

@zeguangzhang

I can't understand the following:

from your token provider (oauth2.Endpoint.AuthURL):
% TOKEN=$(curl https://$USER:[email protected]/access_token)

my core code :

var TEAMS []zalando.AccessTuple = []zalando.AccessTuple{
	{"teams", "a", "a"},
}

...
...
...
router.Run(":8001")

I get token like this:
https://a:[email protected]:8001/access_token
but Could not get response. why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions