rc3-counterbadge/counterbadge.example.json

32 lines
1.2 KiB
JSON
Raw Normal View History

2022-01-01 01:18:13 +01:00
{
"counters": {
"my-treasure-hunt": {
"display_name": "My rC3 Treasure Hunt",
"unique_tokens": [
"bc243542-f7d9-4474-943a-15e5936c9943",
"d6cf7658-a556-4784-bcb7-06d12fc47f54",
"ee81ad35-2a04-4781-9a09-e925ce2b5eab",
"202102f8-aca9-42e1-b6f9-0cb7d0dbb380",
"generate unique, non-guessable tokens for each place to visit"
],
"profile_url": "https://api.rc3.world/api/me",
"redeem_url": "https://api.rc3.world/api/c/rc3_21/badges/redeem_token",
"api_token": "Your assembly's API token. Generate it at Maschinenraum / Authentication / Request a New Token",
"issue_at": {
"1": "A permanent redeem token",
"5": "Another permanent redeem token. Generate it at Maschinenraum / Badges / <the badge> / Create Badge Redeem Token"
},
"oauth": {
"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"
}
}
}
}