internal
Mint a US staff Bearer (service secret)
Changed onUS-only in stg/prod. Bearer STAFF_REGION_TOKEN_SECRET (not the allocate secret). Upserts user + staff roles from Canada's current privileges at the given user.id and mints oauth2_token. Canada calls this after validating the Canada session.
post/internal/mint-staff-token
Request
- Base URLhttps://api.rxfoodapp.com/api
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
minted US Bearer
Changes
- info
endpoint added
- info