Skip to content

providers/oauth2: Support login_hint#19498

Merged
BeryJu merged 12 commits intomainfrom
oauth2-login-hint
Jan 27, 2026
Merged

providers/oauth2: Support login_hint#19498
BeryJu merged 12 commits intomainfrom
oauth2-login-hint

Conversation

@PeshekDotDev
Copy link
Contributor

@PeshekDotDev PeshekDotDev commented Jan 15, 2026

@PeshekDotDev PeshekDotDev requested review from a team as code owners January 15, 2026 21:30
@netlify
Copy link

netlify bot commented Jan 15, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 6897ca2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69783ce13d44fa000867cf67
😎 Deploy Preview https://deploy-preview-19498--authentik-storybook.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.

@netlify
Copy link

netlify bot commented Jan 15, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f78b14c
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6977fc8b0186aa0008bfef3a
😎 Deploy Preview https://deploy-preview-19498--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.

@PeshekDotDev PeshekDotDev self-assigned this Jan 15, 2026
@PeshekDotDev PeshekDotDev moved this from Todo to Needs review in authentik Core Jan 15, 2026
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 98.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.27%. Comparing base (f080a82) to head (317d45e).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/stages/identification/stage.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19498      +/-   ##
==========================================
+ Coverage   93.23%   93.27%   +0.04%     
==========================================
  Files         954      954              
  Lines       52443    52674     +231     
==========================================
+ Hits        48894    49133     +239     
+ Misses       3549     3541       -8     
Flag Coverage Δ
conformance 38.18% <35.00%> (-0.06%) ⬇️
e2e 43.99% <25.00%> (-0.09%) ⬇️
integration 23.08% <6.66%> (-0.06%) ⬇️
unit 91.53% <98.33%> (+0.05%) ⬆️
unit-migrate 91.56% <98.33%> (+0.05%) ⬆️

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

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

Copy link
Contributor

@kensternberg-authentik kensternberg-authentik left a comment

Choose a reason for hiding this comment

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

Front-end changes look sane and sensible.

@rissson rissson changed the title Providers/oauth2: Support login_hint providers/oauth2: Support login_hint Jan 16, 2026
@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit f78b14c
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6977fc8bcf1b3b0008edaa8a
😎 Deploy Preview https://deploy-preview-19498--authentik-integrations.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.

@PeshekDotDev PeshekDotDev marked this pull request as draft January 16, 2026 17:53
@PeshekDotDev PeshekDotDev marked this pull request as ready for review January 16, 2026 21:41
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-317d45ea2148c658f115a382d1cfbf30ec56fa42
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-317d45ea2148c658f115a382d1cfbf30ec56fa42

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

PeshekDotDev and others added 2 commits January 26, 2026 22:19
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-project-automation github-project-automation bot moved this from Needs review to In Progress in authentik Core Jan 27, 2026
@BeryJu BeryJu merged commit 25820f0 into main Jan 27, 2026
101 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in authentik Core Jan 27, 2026
@BeryJu BeryJu deleted the oauth2-login-hint branch January 27, 2026 14:15
kensternberg-authentik added a commit that referenced this pull request Jan 31, 2026
* main: (45 commits)
  sources/saml: Add testcases for PR #19593 (#19647)
  revert: website/integrations: wazuh: Change exchange key generation to 64 bytes (#19759)
  web: bump API Client version (#19760)
  core: bump djangoql from 0.18.2 to 0.19.1 (#19780)
  web: Vendor SFE Bootstrap (#19766)
  core, web: update translations (#19717)
  web: bump the eslint group across 1 directory with 3 updates (#19782)
  web: bump the react group across 1 directory with 2 updates (#19784)
  web: bump country-flag-icons from 1.6.8 to 1.6.9 in /web (#19785)
  providers/oauth2: Support login_hint (#19498)
  admin/files: add centralized theme variable support for file URLs (#19657)
  core: bump github.com/pires/go-proxyproto from 0.9.1 to 0.9.2 (#19778)
  core: bump openapitools/openapi-diff from 2.1.6 to 2.1.7 in /scripts/api (#19779)
  core: bump gssapi from 1.10.1 to 1.11.1 (#19781)
  ci: bump actions/attest-build-provenance from 3.1.0 to 3.2.0 (#19783)
  website/docs: endpoint devices: fix local device login (#19698)
  web: Enforce `challenge` nullish types. (#19768)
  web/elements: stabilize dual-select status height (#19734)
  web/a11y: CAPTCHA Stage Form (#19670)
  web/table: align row action icons and tooltip color (#19736)
  ...
tacerus pushed a commit to tacerus/authentik that referenced this pull request Feb 24, 2026
* clean up code

* simplify skipping logic

* clean up reading flag, fix user submission on identification stage

* do not auto add login_hint if user doesnt exist and pretend_user_exists is off

* rework

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* more tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* sigh

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix login_hint conformance test

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
tacerus added a commit to tacerus/authentik that referenced this pull request Mar 4, 2026
This reverts commit 7d51b36.
Will be re-integrated as part of version/2026.2.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

OAuth2 Provider: accept login_hint when authenticating

3 participants