Repository navigation
feat(oidc): OIDC authentification - #23
mohamedalibarkailluin wants to merge 1 commit into
Conversation
| <div class="notice-title">Signed out</div> | ||
| <div class="notice-body"> | ||
| Your Wombat session has been cleared and coming back will ask which Google account to use. Your | ||
| Google account itself stays signed in on this device — only Google can end that session. |
|
|
||
| ## Access control | ||
|
|
||
| The whole HTTP surface (UI and REST) can be restricted to Illuin Google Workspace accounts. There is **no |
There was a problem hiding this comment.
Clear the AI generated comments + there should be no mention of ILLUIN-specific assets, this should be a generic OIDC integration
| application-type: hybrid # browsers use the code flow, API clients may pass a bearer token | ||
| token: | ||
| required-claims: | ||
| hd: illuin.tech # rejected at token validation if absent or different |
There was a problem hiding this comment.
Again, shouldn't reference illuin assets
| secret: <client-secret> | ||
| ``` | ||
|
|
||
| ### Why `hd` is the claim that matters |
There was a problem hiding this comment.
This smells of AI generated documentation, you should get rid of it.
|
|
||
| # Access control. `quarkus.oidc.tenant-enabled` is the only switch: false (the default set in | ||
| # application.yaml) contacts no provider and leaves every request anonymous. Uncomment the block below to | ||
| # require a Google Workspace account — the provider, the `hd: illuin.tech` claim requirement and the |
| # credentials are environment-specific. Create them in the Google Cloud console (APIs & Services > | ||
| # Credentials > OAuth client ID > Web application) and register http://localhost:8080/auth/callback there. | ||
| # Startup fails fast if the credentials are missing. | ||
| #quarkus: |
There was a problem hiding this comment.
Such standard but commented-out options should be in the base application.yml (there are already a few examples)
application-dev.yaml.dist should be for samples especially relevant for local development
+ maybe we should consider using a profile for that given there is so much configuration with gotchas for the integration to work? need feedback on this @theo-malka
b47c338 to
6c03ff4
Compare
|
superseded by #30 |
No description provided.