Files
tavolo/server/dev/mockoauth/config.json
T
woggioni 7ea20964c6 Rename the app from scopa to tavolo
The platform now hosts multiple card games, with scopone scientifico as
the first one. Rename the brand wherever it is not a game rule:

- move the Python package to server/src/tavolo and update imports
- rename the Postgres database/user, OIDC issuer path, client id and
  Redis key prefixes to tavolo (clean break: existing pgdata volumes and
  live games are not migrated)
- rename the Cargo package to tavolo-web and set the page title to Tavolo
- update docs and the Docker image path to woggioni/tavolo

The scopa game term (clearing the table) in the engine, state and web UI
is intentionally left untouched.
2026-09-16 12:20:53 +00:00

56 lines
1.2 KiB
JSON

{
"interactiveLogin": true,
"tokenCallbacks": [
{
"issuerId": "tavolo",
"tokenExpiry": 3600,
"requestMappings": [
{
"requestParam": "subject",
"match": "alice",
"claims": {
"sub": "alice",
"preferred_username": "alice",
"name": "Alice"
}
},
{
"requestParam": "subject",
"match": "bob",
"claims": {
"sub": "bob",
"preferred_username": "bob",
"name": "Bob"
}
},
{
"requestParam": "subject",
"match": "carol",
"claims": {
"sub": "carol",
"preferred_username": "carol",
"name": "Carol"
}
},
{
"requestParam": "subject",
"match": "dave",
"claims": {
"sub": "dave",
"preferred_username": "dave",
"name": "Dave"
}
},
{
"requestParam": "subject",
"match": ".*",
"claims": {
"sub": "${subject}",
"preferred_username": "${subject}"
}
}
]
}
]
}