Commit 969293b
seed: add fortuna-web public OIDC client (audience=fortuna) (#465)
Adds the fortuna-web PUBLIC OIDC/PKCE client so the fortuna web app can 'Sign
in with Janua'. audience=fortuna matches what fortuna-api enforces on the Janua
JWT (services/api/app/core/auth.py + config.py janua_audience default 'fortuna'),
so OIDC-minted tokens carry aud=fortuna and are accepted — unlike the session-API
tokens (aud=janua.dev) the web currently obtains. redirect_uri is
https://fortuna.tube/auth/callback (SDK default ${origin}/auth/callback) + localhost.
tezca-web already existed with audience=tezca-api. Operator runs this seed
(Janua uniformity console gate) to register both in prod.
Co-authored-by: Aldo R. L. <aldo.ruiz.luna@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent c67d93f commit 969293b
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
140 | 153 | | |
141 | 154 | | |
142 | 155 | | |
| |||
0 commit comments