Skip to content

providers/oauth2: fix inconsistent sub value when setting via mapping#8677

Merged
BeryJu merged 1 commit intomainfrom
providers/oauth2/fix-inconsistent-sub
Feb 25, 2024
Merged

providers/oauth2: fix inconsistent sub value when setting via mapping#8677
BeryJu merged 1 commit intomainfrom
providers/oauth2/fix-inconsistent-sub

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Feb 25, 2024

Details

closes #6106


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner February 25, 2024 00:32
@BeryJu
Copy link
Member Author

BeryJu commented Feb 25, 2024

/cherry-pick version-2024.2

@netlify
Copy link

netlify bot commented Feb 25, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 3746d0c
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65da8abcfc175500085c3490

@netlify
Copy link

netlify bot commented Feb 25, 2024

Deploy Preview for authentik canceled.

Name Link
🔨 Latest commit 3746d0c
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/65da8abc4058520008f10ed0

@github-actions
Copy link
Contributor

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-ghcr.io/goauthentik/dev-server:gh-3746d0c06b66be52dec40be67f703437ebf9be42
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-3746d0c06b66be52dec40be67f703437ebf9be42-arm64
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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-3746d0c06b66be52dec40be67f703437ebf9be42

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-3746d0c06b66be52dec40be67f703437ebf9be42-arm64

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

@BeryJu BeryJu merged commit 646276b into main Feb 25, 2024
@BeryJu BeryJu deleted the providers/oauth2/fix-inconsistent-sub branch February 25, 2024 17:25
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Feb 25, 2024
…ng (#8677)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu pushed a commit that referenced this pull request Feb 25, 2024
kensternberg-authentik added a commit that referenced this pull request Feb 27, 2024
* main: (75 commits)
  Add missing commas, correction of spelling errors (#8680)
  website/docs: Add documentation for Glitchtip (#8182)
  website: add solve gitea group does not take effect (#8413)
  enterprise: fix read_only activating when no license is installed (#8697)
  core: fix blueprint export (#8695)
  web: bump the sentry group in /web with 1 update (#8687)
  web: bump yaml from 2.3.4 to 2.4.0 in /web (#8689)
  web: bump the eslint group in /web with 1 update (#8688)
  core: bump pytest from 8.0.1 to 8.0.2 (#8693)
  website: bump @types/react from 18.2.57 to 18.2.58 in /website (#8690)
  web: bump the eslint group in /tests/wdio with 1 update (#8691)
  core: bump sentry-sdk from 1.40.4 to 1.40.5 (#8692)
  core: bump coverage from 7.4.1 to 7.4.3 (#8694)
  providers/oauth2: fix inconsistent `sub` value when setting via mapping (#8677)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#8678)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#8679)
  core, web: update translations (#8672)
  root: fix config loading after refactor during ruff migration (#8674)
  root: early spring clean for linting (#8498)
  website/integrations: multiple integration edits (#7923)
  ...
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.

Allow setting a custom attribute for oidc provider sub claim

1 participant