Skip to content

website/integrations: ch-ui: document the email_verified requirement - #26978

Merged
dominic-r merged 1 commit into
mainfrom
dominic/ch-ui-email-verified
Oct 16, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/ch-ui-email-verified

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Details

What does this PR change?

Adds a custom email scope mapping to the CH-UI guide and swaps it for the default email mapping on the provider. The guide points to Email scope verification for a mapping that returns email_verified: True. For deployments that cannot verify addresses, it also gives a mapping that omits the claim, together with CH-UI's OIDC_ACCEPT_UNVERIFIED_EMAIL setting.

Why is this change needed?

Starting with v2.23.1, CH-UI refuses every SSO login whose ID token has email_verified: false. The default authentik email mapping always sends false, so following the current guide with CH-UI v2.23.1 or later produces a working-looking setup where nobody can log in. CH-UI also refuses a missing claim unless OIDC_ACCEPT_UNVERIFIED_EMAIL is on, so the fallback mapping alone is not enough.

How was this tested?

Checked the claim handling against the CH-UI v2.26.0 source. An explicit false is always refused. A missing claim gets through only when OIDC_ACCEPT_UNVERIFIED_EMAIL is set, and the environment setting takes precedence over the SSO settings saved in the admin UI. Applied the fallback mapping and setting to a CH-UI v2.26.0 deployment and confirmed that authentik now sends only email from that mapping. I have not completed a browser login through it yet. Built the integrations site.

Linked issues

Refs #26935


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Oct 16, 2026
@dominic-r
dominic-r requested a review from a team as a code owner October 16, 2026 16:14
@dominic-r dominic-r self-assigned this Oct 16, 2026
@dominic-r
dominic-r enabled auto-merge (squash) October 16, 2026 16:15
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Oct 16, 2026
@netlify

netlify Bot commented Oct 16, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 5d8b166
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad24d65c40cae0c0340118f
😎 Deploy Preview https://deploy-preview-26978--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.26%. Comparing base (3aff6e1) to head (5d8b166).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26978      +/-   ##
==========================================
- Coverage   92.29%   92.26%   -0.04%     
==========================================
  Files        1185     1185              
  Lines       79577    79577              
  Branches     4351     4351              
==========================================
- Hits        73444    73418      -26     
- Misses       6067     6093      +26     
  Partials       66       66              
Flag Coverage Δ
conformance 32.42% <ø> (+<0.01%) ⬆️
e2e 37.12% <ø> (+<0.01%) ⬆️
integration 28.79% <ø> (-0.50%) ⬇️
rust 44.42% <ø> (ø)
unit 93.95% <ø> (+<0.01%) ⬆️
unit-migrate 93.95% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 38930373856 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-5d8b1663263dfc1bcfbc5f636eb73c2de0c6ef05
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-5d8b1663263dfc1bcfbc5f636eb73c2de0c6ef05

Afterwards, run the upgrade commands from the latest release notes.

@dominic-r
dominic-r merged commit 9cbe134 into main Oct 16, 2026
146 checks passed
@dominic-r
dominic-r deleted the dominic/ch-ui-email-verified branch October 16, 2026 16:34
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 16, 2026
kensternberg-authentik added a commit that referenced this pull request Oct 19, 2026
* main: (101 commits)
  ci: exclude node_modules from Go lint (#26961)
  website/integrations: ch-ui: document the email_verified requirement (#26978)
  website/docs: add expression policy for case-insensitive unique usernames (#26974)
  core: prefetch token owners and memberships (#25803)
  website/integrations: add detailed explanation for setting GH Org limit (#8604)
  website/integrations: add opensearch (#26938)
  endpoints: fix MultipleObjectsReturned (#26971)
  core, web: update translations (#26963)
  website/docs: single-logout: add information around proxy providers for single logout (#26563)
  common/saml: move exceptions and logout request parser to common (#26533)
  stages/authenticator_webauthn: accept ML-DSA credentials (#26381)
  crypto: add ML-DSA certificate generation (#26380)
  website/integrations: add ch-ui (#26935)
  website/integrations: add kibana (#26936)
  core: bump pydantic from 2.13.5 to 2.14.0 (#26969)
  core: bump rust-toolchain from 1.99.0 to 1.99.1 (#26967)
  core: bump aws-cdk-lib from 2.272.0 to 2.273.0 (#26968)
  core: bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 (#26965)
  core: bump github.com/getsentry/sentry-go from 0.49.0 to 0.50.0 (#26966)
  web/admin: version banner (#26948)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants