https://github.com/digitalocean/marketplace-oauth
2.6K
The Marketplace OAuth2 service.
.env.sample and the run source .env.samplemake start-local to spin it up in a docker container.base64.StdEncoding.EncodeToString(securecookie.GenerateRandomKey(32))GET /login
{}
empty
the body will vary based on the error that is returned from the DO api
the body will vary based on the error that is returned from creating a jwt
GET /logout
{}
empty
POST /refresh-token?refresh_token={refresh_token_here}
{}
empty
{"error": "'refresh_token' missing from query params"}
{"error": "Unable to refresh auth token"}
the body will vary based on the error returned from trying to set the JWT.
Content type
Image
Digest
Size
7.6 MB
Last updated
over 6 years ago
docker pull digitalocean/marketplace-oauth:d37e296