rc3-counterbadge/counterbadge.example.json

34 lines
1.8 KiB
JSON
Raw Normal View History

2022-01-01 01:18:13 +01:00
{
"counters": {
"my-treasure-hunt": { # Give your counter a reasonable slug name.
"display_name": "My rC3 Treasure Hunt", # ... and a reasonable display name.
"unique_tokens": [
# Generate unique, non-guessable tokens for each place to visit
"bc243542-f7d9-4474-943a-15e5936c9943",
"d6cf7658-a556-4784-bcb7-06d12fc47f54",
"ee81ad35-2a04-4781-9a09-e925ce2b5eab",
"202102f8-aca9-42e1-b6f9-0cb7d0dbb380",
"05cbbbc0-282e-4ef8-a5af-0be91a914818"
],
"profile_url": "https://api.rc3.world/api/me", # Adapt to your event's profile API URL
"redeem_url": "https://api.rc3.world/api/c/rc3_21/badges/redeem_token", # Adapt to your event's redeem URL
"api_token": "Your assembly's API token. Generate it at Maschinenraum / Authentication / Request a New Token",
"issue_at": {
# Add badge issue tokens to taste
"1": "A permanent redeem token, issued after the first place is found ",
"5": "Another permanent redeem token, issued after all five places are found"
},
"oauth": { # Adapt to your event's OAuth endpoints
"client_id": "Your OAuth2 Client ID. Register a public OAuth2-Client at Maschinenraum / Authentication / New Application",
"client_secret": "Your OAuth2 Client Secret",
"authorize_url": "https://rc3.world/sso/authorize/",
"token_url": "https://rc3.world/sso/token/",
"scope": "rc3_21_attendee",
"redirect_url": "https://example.org/counter/my-treasure-hunt/redirect",
"response_type": "code"
}
}
}
2022-01-01 01:18:13 +01:00
}