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
- Key: paste the full content of the downloaded `.p8` file
159
+
160
+
django-allauth uses the Team ID + Key ID + `.p8` content to generate a JWT client secret dynamically. You also need to set **Key ID** in `qgis-app/settings_local.py` (copy from `settings_local.py.templ`):
161
+
162
+
```python
163
+
SOCIALACCOUNT_PROVIDERS= {
164
+
"apple": {
165
+
"APP": {
166
+
"client_id": "org.qgis.plugins.web",
167
+
"secret": "TEAM_ID",
168
+
"key": "KEY_ID",
169
+
"settings": {
170
+
"certificate_key": """-----BEGIN PRIVATE KEY-----
171
+
...your .p8 content here...
172
+
-----END PRIVATE KEY-----"""
173
+
}
174
+
}
175
+
},
176
+
}
177
+
```
165
178
166
-
django-allauth uses the Team ID + Key ID + `.p8` content to generate a JWT client secret dynamically. All credentials are stored in the database via Admin — no changes to `settings_local.py` are required for Apple.
179
+
The other fields (Client ID = Services ID, Secret key = Team ID) can also be stored in the DB via Admin as a fallback, but the `certificate_key` must be in settings.
0 commit comments