django oauth toolkit permanent access token
To create a permanent access token using Django OAuth Toolkit, follow these steps:
- Create a new application using the Django admin interface or API endpoint.
- Retrieve the client ID and client secret generated for the new application.
- Use the client ID and client secret to obtain a temporary access token.
- Send a POST request to the token endpoint with the client ID, client secret, grant type, and scope to exchange the temporary access token for a permanent one.
- Receive the permanent access token in the response from the token endpoint.
These steps will allow you to set up a permanent access token using Django OAuth Toolkit.