Back

is providerAccessToken an access token or a response token?

  • 0
  • Accounts
  • Web
Kuro
15 May, 2023, 21:18

when using discord as OAuth2 is providerAccessToken an actual access token which already got requested from discord or is it the response code from discord with which someone should request a new access token?

TL;DR
The user wants to know if the 'providerAccessToken' can be used as a Bearer token to authorize at the Discord API. The answer is yes, it is the actual access token that can be used for authorization. There is no need to request a new access token using the response code from Discord.
Drake
15 May, 2023, 22:02

It is the actual access token

Kuro
15 May, 2023, 22:03

So I can use it as Bearer token to authorize at the discord api?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more