docs/socialaccount/providers/gitea.rst
raw| 1 | Gitea |
| 2 | ----- |
| 3 | |
| 4 | App registration (get your key and secret here) |
| 5 | https://gitea.com/user/settings/applications |
| 6 | |
| 7 | Development callback URL |
| 8 | http://127.0.0.1:8000/accounts/gitea/login/callback/ |
| 9 | |
| 10 | |
| 11 | Self-hosted Support |
| 12 | ******************* |
| 13 | |
| 14 | If you use a self-hosted Gitea instance add your server URL to your Django settings as |
| 15 | follows: |
| 16 | |
| 17 | .. code-block:: python |
| 18 | |
| 19 | SOCIALACCOUNT_PROVIDERS = { |
| 20 | 'gitea': { |
| 21 | 'GITEA_URL': 'https://your.gitea-server.domain', |
| 22 | } |
| 23 | } |