It is necessary to securely store both the access_token and refresh_token. Encryption will be applied to ensure data safety. Let's store the expires_in too, just to check if the access_token expires. Utilizing the access_token, we can access crucial information from Discord, including server memberships for all users.
Store Discord Tokens
Proposal
Upon completion of task #8, we should implement database integration.
Details
When the user authorizes, the backend is able to retrieve this data:
It is necessary to securely store both the access_token and refresh_token. Encryption will be applied to ensure data safety. Let's store the expires_in too, just to check if the access_token expires. Utilizing the access_token, we can access crucial information from Discord, including server memberships for all users.