API Reference/api/auth/api/auth/oauth

/api/auth/oauth

Info

GET
Get OAuth providers

200
Ok (JSON)

Array of OAuth Objects:

Field NameTypeDescription
idstringAn autogenerated ID of the provider
providerstringThe name of the provider, discord, github or google
tokenstringThe OAuth access_token of the user
refreshstringThe OAuth refresh_token of the user
usernamestringThe username of the O
[
{
"id": 2,
"provider": "DISCORD",
"userId": 18,
"username": "dicedtomato",
"token": "x",
"refresh": "x"
},
{
"id": 3,
"provider": "GITHUB",
"userId": 18,
"username": "diced",
"token": "gho_x",
"refresh": null
}
]
Last updated: 8/5/2023
Edit this page on GitHub