Skip to content
Snippets Groups Projects
Verified Commit 7dec9e52 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Update README.md

parent 98fb6d5c
Branches
No related tags found
No related merge requests found
......@@ -84,6 +84,33 @@ docker compose -f docker-compose.prod.yml exec web python manage.py collectstati
The app should now be running on `localhost:1337`
## Adding Social Login
Authentication is now provided via django-allauth, so refer to their documentation [here](https://docs.allauth.org/en/latest/installation/quickstart.html).
For OpenID Connect, add the following to your local_settings.py file:
```python
INSTALLED_APPS += [
'allauth.socialaccount.providers.openid_connect',
]
SOCIALACCOUNT_PROVIDERS = {
"openid_connect": {
"EMAIL_AUTHENTICATION": True, # Only add this line if you want existing accounts to be linked by email
"APPS": [
{
"provider_id": "my-server",
"name": "My Login Server",
"client_id": "your.service.id",
"secret": "your.service.secret",
"settings": {
"server_url": "https://my.server.example.com",
}
}
]
}
}
```
## Tech Stack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment