You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ticket is to create a feature for enabling social login using Notion on the Simulateur stock market simulation platform. The platform is built using Django and includes features for managing stock market scenarios, teams, user profiles, and an admin dashboard for controlling simulation parameters. The objective is to integrate Notion social login to enhance user authentication and streamline the login process.
Steps to Implement Notion Social Login
Install Django Allauth:
Ensure Django Allauth is installed by adding it to your project's requirements.txt file or running the command:
pip install django-allauth
Update Settings:
Update the settings.py file to include Allauth configurations:
Since Django Allauth does not come with a built-in Notion provider, create a custom provider by following the Django Allauth documentation on custom providers.
Start the server and test the Notion login by navigating to /accounts/login/.
Expected Behavior
Users should be able to log in using their Notion accounts. Upon successful authentication, users will be redirected to the homepage or a specified URL.
Additional Information
Ensure that the Notion integration is properly configured in the Notion Developer Console, and the Client ID and Secret are kept secure.
The text was updated successfully, but these errors were encountered:
antoinebou12
changed the title
Create the social signup using notion with django allauth
Enable Notion Social Login Using Django Allauth
Jul 3, 2024
Overview
This ticket is to create a feature for enabling social login using Notion on the Simulateur stock market simulation platform. The platform is built using Django and includes features for managing stock market scenarios, teams, user profiles, and an admin dashboard for controlling simulation parameters. The objective is to integrate Notion social login to enhance user authentication and streamline the login process.
Steps to Implement Notion Social Login
Install Django Allauth:
requirements.txt
file or running the command:Update Settings:
settings.py
file to include Allauth configurations:Create a Custom Notion Provider:
Configure URLs:
urls.py
file to include Allauth URLs:Set Up Notion Integration:
settings.py
:Update Database:
Test the Integration:
/accounts/login/
.Expected Behavior
Users should be able to log in using their Notion accounts. Upon successful authentication, users will be redirected to the homepage or a specified URL.
Additional Information
Ensure that the Notion integration is properly configured in the Notion Developer Console, and the Client ID and Secret are kept secure.
The text was updated successfully, but these errors were encountered: