Skip to content

feat(oidc): OIDC authentification - #23

Closed
mohamedalibarkailluin wants to merge 1 commit into
illuin-tech:masterfrom
mohamedalibarkailluin:oidc-authentification
Closed

mohamedalibarkailluin wants to merge 1 commit into
illuin-tech:masterfrom
mohamedalibarkailluin:oidc-authentification

Conversation

@mohamedalibarkailluin

Copy link
Copy Markdown
Contributor

No description provided.

<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 &mdash; only Google can end that session.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why google only?

Comment thread README.md Outdated

## Access control

The whole HTTP surface (UI and REST) can be restricted to Illuin Google Workspace accounts. There is **no

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear the AI generated comments + there should be no mention of ILLUIN-specific assets, this should be a generic OIDC integration

Comment thread README.md Outdated
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, shouldn't reference illuin assets

Comment thread README.md Outdated
secret: <client-secret>
```

### Why `hd` is the claim that matters

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

# 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:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@eledhwen

Copy link
Copy Markdown
Collaborator

superseded by #30

@eledhwen eledhwen closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants