Skip to content

providers/oauth2: fix size limited index for tokens#11879

Merged
gergosimonyi merged 2 commits intomainfrom
providers/oauth2/fix-size-limited-index
Nov 4, 2024
Merged

providers/oauth2: fix size limited index for tokens#11879
gergosimonyi merged 2 commits intomainfrom
providers/oauth2/fix-size-limited-index

Conversation

@gergosimonyi
Copy link
Collaborator

@gergosimonyi gergosimonyi commented Oct 31, 2024

Closes #11874

I preserved the migrations as comments so the index IDs and migration
IDs remain searchable without accessing git history.
@gergosimonyi gergosimonyi requested a review from a team as a code owner October 31, 2024 14:49
@netlify
Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 9295288
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6723a24b1c3d0e0008af6294

@netlify
Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 9295288
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6723a24b80199b0008e3f53f

@codecov
Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.56%. Comparing base (f192690) to head (9295288).
Report is 15 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11879      +/-   ##
==========================================
- Coverage   92.56%   92.56%   -0.01%     
==========================================
  Files         760      760              
  Lines       37792    37793       +1     
==========================================
  Hits        34983    34983              
- Misses       2809     2810       +1     
Flag Coverage Δ
e2e 49.13% <100.00%> (-0.01%) ⬇️
integration 24.93% <100.00%> (+<0.01%) ⬆️
unit 90.14% <100.00%> (+<0.01%) ⬆️

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.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2024

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-92952884d3b55ebbf8980d0a536f7ae2202c7e0a
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-92952884d3b55ebbf8980d0a536f7ae2202c7e0a-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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-92952884d3b55ebbf8980d0a536f7ae2202c7e0a

For arm64, use these values:

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-92952884d3b55ebbf8980d0a536f7ae2202c7e0a-arm64

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

@gergosimonyi
Copy link
Collaborator Author

/cherry-pick version-2024.10

@gergosimonyi gergosimonyi merged commit 5198174 into main Nov 4, 2024
@gergosimonyi gergosimonyi deleted the providers/oauth2/fix-size-limited-index branch November 4, 2024 17:04
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Nov 4, 2024
* providers/oauth2: fix size limited index for tokens

I preserved the migrations as comments so the index IDs and migration
IDs remain searchable without accessing git history.

* rename migration file to more descriptive
BeryJu pushed a commit that referenced this pull request Nov 4, 2024
…) (#11905)

providers/oauth2: fix size limited index for tokens (#11879)

* providers/oauth2: fix size limited index for tokens

I preserved the migrations as comments so the index IDs and migration
IDs remain searchable without accessing git history.

* rename migration file to more descriptive

Co-authored-by: Simonyi Gergő <28359278+gergosimonyi@users.noreply.github.com>
kensternberg-authentik added a commit that referenced this pull request Nov 12, 2024
* main:
  core: add `None` check to a device's `extra_description` (#11904)
  providers/oauth2: fix size limited index for tokens (#11879)
  web: fix missing status code on failed build (#11903)
  website: bump docusaurus-theme-openapi-docs from 4.1.0 to 4.2.0 in /website (#11897)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in de (#11891)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#11884)
  translate: Updates for file web/xliff/en.xlf in tr (#11878)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in tr (#11866)
  core: bump google-api-python-client from 2.149.0 to 2.151.0 (#11885)
  core: bump selenium from 4.26.0 to 4.26.1 (#11886)
  core, web: update translations (#11896)
  website: bump docusaurus-plugin-openapi-docs from 4.1.0 to 4.2.0 in /website (#11898)
  core: bump watchdog from 5.0.3 to 6.0.0 (#11899)
  core: bump ruff from 0.7.1 to 0.7.2 (#11900)
  core: bump django-pglock from 1.6.2 to 1.7.0 (#11901)
  website/docs: fix release notes to say Federation (#11889)
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.

Authentik database error after upgrade

2 participants