Created
November 21, 2019 23:03
EVE Online SSO request templates, for use with https://marketplace.visualstudio.com/items?itemName=humao.rest-client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@client_id = *** | |
@client_secret = *** | |
@code_challenge = *** | |
@code_verifier = *** | |
############################## | |
# New grant (standard flow v2) | |
POST https://login.eveonline.com/v2/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
Authorization: Basic {{client_id}} {{client_secret}} | |
grant_type=authorization_code | |
&code=... | |
############################## | |
# New grant (standard flow v1) | |
POST https://login.eveonline.com/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
Authorization: Basic {{client_id}} {{client_secret}} | |
grant_type=authorization_code | |
&code=... | |
################## | |
# New grant (PKCE) | |
POST https://login.eveonline.com/v2/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
grant_type=authorization_code | |
&code=... | |
&client_id={{client_id}} | |
&code_verifier={{code_verifier}} | |
######################### | |
# Refreshing token (PKCE) | |
POST https://login.eveonline.com/v2/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
grant_type=refresh_token | |
&refresh_token=... | |
&client_id={{client_id}} | |
##################################### | |
# Refreshing token (standard flow v2) | |
POST https://login.eveonline.com/v2/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
Authorization: Basic {{client_id}} {{client_secret}} | |
grant_type=refresh_token | |
&refresh_token=... | |
##################################### | |
# Refreshing token (standard flow v1) | |
POST https://login.eveonline.com/oauth/token | |
Content-Type: application/x-www-form-urlencoded | |
Authorization: Basic {{client_id}} {{client_secret}} | |
grant_type=refresh_token | |
&refresh_token=... | |
################## | |
# Token revocation | |
POST https://login.eveonline.com/v2/oauth/revoke | |
Content-Type: application/x-www-form-urlencoded | |
token=... | |
&client_id={{client_id}} | |
#################### | |
# Token verification | |
GET https://login.eveonline.com/oauth/verify | |
Authorization: Bearer ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment