CI / Build and push docker image (push) Successful in 3m12s
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.
56 lines
1.2 KiB
JSON
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}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|