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
stop using the oidc standard claim address for profile location, use bornhack:v2:location custom claim instead, require location:read scope to get the claim
Copy file name to clipboardExpand all lines: src/bornhack/settings.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -221,17 +221,22 @@
221
221
"SCOPES": {
222
222
# required
223
223
"openid": "OpenID Connect scope",
224
+
224
225
# deprecated api scope, remove after 2025 camp
225
226
"profile:read": "Allow the remote site to read your bornhack.dk username (uuid), user id, profile public credit name, profile description, and a list of team memberships using the profile API endpoint (scope profile:read). NOTE: This scope is being deprecated soon! Ask the BornHack website team for more info.",
227
+
226
228
# standard OIDC claim scopes
227
229
"profile": "Allow the remote site to read your profile public_credit_name, description, and update time (scope: profile)",
228
230
"email": "Allow the remote site to read your email address (scope: email)",
229
231
"address": "Allow the remote site to read your profile location (scope: address)",
230
232
"phone": "Allow the remote site to read your profile phonenumber (scope: phone)",
233
+
231
234
# custom bornhack user claim scopes
232
235
"groups:read": "Allow the remote site to read a list of your group memberships (scope: groups:read).",
236
+
"location:read": "Allow the remote site to read your profile location (scope: loocation:read)",
233
237
"permissions:read": "Allow the remote site to read a list of your assigned permissions (scope: permissions:read).",
234
-
"teams:read": "Allow the remote site to read a list of your team memberships and team lead status (scope: teams)",
238
+
"teams:read": "Allow the remote site to read a list of your team memberships and team lead status (scope: teams:read)",
239
+
235
240
# api scopes
236
241
"phonebook:admin": "Allow the remote site to read the camp phonebook, including service numbers and unlisted numbers. Also allow the remote site to use to the POC API. This scope is only relevant for POC team leads (scope: phonebook:admin).",
237
242
"phonebook:read": "Allow the remote site to read the camp phonebook (scope: phonebook:read).",
0 commit comments