Plio backend uses DRF Social OAuth2 package to support various social media sign in functionalities. This document covers step by step details on how to get the sign-in functionality running.
- Use the Plio frontend Google-OAuth2 guide to configure Google Developer Console and get the Client ID and Client Secret.
- Update your
.env
file and setGOOGLE_OAUTH2_CLIENT_ID
andGOOGLE_OAUTH2_CLIENT_SECRET
variables from the copied values in the above step:GOOGLE_OAUTH2_CLIENT_ID="your_client_id" GOOGLE_OAUTH2_CLIENT_SECRET="your_client_secret"
Refer to the REST API guide to create API client credentials from the Django Admin Dashboard.