Skip to content

providers/scim: fix time_limit not set correctly - #9546

Merged
BeryJu merged 1 commit into
mainfrom
providers/scim/fix-time_limit-unset
May 3, 2024
Merged

BeryJu merged 1 commit into
mainfrom
providers/scim/fix-time_limit-unset

Conversation

@BeryJu

@BeryJu BeryJu commented May 2, 2024

Copy link
Copy Markdown
Member

Details

REPLACE ME


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)

@BeryJu
BeryJu requested a review from a team as a code owner May 2, 2024 17:10
@netlify

netlify Bot commented May 2, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 87395a6
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6633cd4960c65b00087cdf57

@netlify

netlify Bot commented May 2, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 87395a6
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6633cd49b105d00009f76e9f

@codecov

codecov Bot commented May 2, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.45%. Comparing base (643a256) to head (87395a6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9546      +/-   ##
==========================================
- Coverage   92.46%   92.45%   -0.01%     
==========================================
  Files         669      669              
  Lines       32742    32751       +9     
==========================================
+ Hits        30274    30280       +6     
- Misses       2468     2471       +3     
Flag Coverage Δ
e2e 50.62% <11.76%> (-0.02%) ⬇️
integration 25.99% <11.76%> (-0.01%) ⬇️
unit 89.75% <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.

@BeryJu
BeryJu force-pushed the providers/scim/fix-time_limit-unset branch from ea204f7 to 87395a6 Compare May 2, 2024 17:28
BeryJu added a commit that referenced this pull request May 2, 2024
#9546
Signed-off-by: Jens Langhammer <[email protected]>
@github-actions

github-actions Bot commented May 2, 2024

Copy link
Copy Markdown
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-87395a6488e5c8b518b9882dbfb4dcdcc55077b0
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-87395a6488e5c8b518b9882dbfb4dcdcc55077b0-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-87395a6488e5c8b518b9882dbfb4dcdcc55077b0

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-87395a6488e5c8b518b9882dbfb4dcdcc55077b0-arm64

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

@BeryJu
BeryJu merged commit 79df24f into main May 3, 2024
@BeryJu
BeryJu deleted the providers/scim/fix-time_limit-unset branch May 3, 2024 09:48
@BeryJu

BeryJu commented May 3, 2024

Copy link
Copy Markdown
Member Author

/cherry-pick version-2024.4

gcp-cherry-pick-bot Bot pushed a commit that referenced this pull request May 3, 2024
BeryJu added a commit that referenced this pull request May 3, 2024
…9553)

providers/scim: fix time_limit not set correctly (#9546)

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L <[email protected]>
kensternberg-authentik added a commit that referenced this pull request May 3, 2024
* main:
  website/docs: fix openssl rand commands (#9554)
  web: bump @sentry/browser from 7.112.2 to 7.113.0 in /web in the sentry group (#9549)
  core, web: update translations (#9548)
  core: bump goauthentik.io/api/v3 from 3.2024041.1 to 3.2024041.2 (#9551)
  core: bump django-model-utils from 4.5.0 to 4.5.1 (#9550)
  providers/scim: fix time_limit not set correctly (#9546)
BeryJu added a commit that referenced this pull request May 5, 2024
#9546
Signed-off-by: Jens Langhammer <[email protected]>
BeryJu added a commit that referenced this pull request May 6, 2024
#9546
Signed-off-by: Jens Langhammer <[email protected]>
kensternberg-authentik added a commit that referenced this pull request May 6, 2024
* dev: (83 commits)
  website/docs: fix openssl rand commands (#9554)
  web: bump @sentry/browser from 7.112.2 to 7.113.0 in /web in the sentry group (#9549)
  core, web: update translations (#9548)
  core: bump goauthentik.io/api/v3 from 3.2024041.1 to 3.2024041.2 (#9551)
  core: bump django-model-utils from 4.5.0 to 4.5.1 (#9550)
  providers/scim: fix time_limit not set correctly (#9546)
  web/flows: fix error when enrolling multiple WebAuthn devices consecutively (#9545)
  web: bump ejs from 3.1.9 to 3.1.10 in /tests/wdio (#9542)
  web: bump API Client version (#9543)
  providers/saml: fix ecdsa support (#9537)
  website/integrations: nextcloud: connect to existing user (#9155)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#9535)
  web: bump the rollup group across 1 directory with 3 updates (#9532)
  website/developer-docs: Add note for custom YAML tags in an IDE (#9528)
  lifecycle: close database connection after migrating (#9516)
  web: bump the babel group in /web with 3 updates (#9520)
  core: bump node from 21 to 22 (#9521)
  web: bump @codemirror/lang-python from 6.1.5 to 6.1.6 in /web (#9523)
  providers/rac: bump guacd to 1.5.5 (#9514)
  core: only prefetch related objects when required (#9476)
  ...
kensternberg-authentik added a commit that referenced this pull request May 6, 2024
…ore-dual-select-uses-2

* web/revision/more-dual-select-uses: (83 commits)
  website/docs: fix openssl rand commands (#9554)
  web: bump @sentry/browser from 7.112.2 to 7.113.0 in /web in the sentry group (#9549)
  core, web: update translations (#9548)
  core: bump goauthentik.io/api/v3 from 3.2024041.1 to 3.2024041.2 (#9551)
  core: bump django-model-utils from 4.5.0 to 4.5.1 (#9550)
  providers/scim: fix time_limit not set correctly (#9546)
  web/flows: fix error when enrolling multiple WebAuthn devices consecutively (#9545)
  web: bump ejs from 3.1.9 to 3.1.10 in /tests/wdio (#9542)
  web: bump API Client version (#9543)
  providers/saml: fix ecdsa support (#9537)
  website/integrations: nextcloud: connect to existing user (#9155)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#9535)
  web: bump the rollup group across 1 directory with 3 updates (#9532)
  website/developer-docs: Add note for custom YAML tags in an IDE (#9528)
  lifecycle: close database connection after migrating (#9516)
  web: bump the babel group in /web with 3 updates (#9520)
  core: bump node from 21 to 22 (#9521)
  web: bump @codemirror/lang-python from 6.1.5 to 6.1.6 in /web (#9523)
  providers/rac: bump guacd to 1.5.5 (#9514)
  core: only prefetch related objects when required (#9476)
  ...
kensternberg-authentik added a commit that referenced this pull request May 6, 2024
* dev: (83 commits)
  website/docs: fix openssl rand commands (#9554)
  web: bump @sentry/browser from 7.112.2 to 7.113.0 in /web in the sentry group (#9549)
  core, web: update translations (#9548)
  core: bump goauthentik.io/api/v3 from 3.2024041.1 to 3.2024041.2 (#9551)
  core: bump django-model-utils from 4.5.0 to 4.5.1 (#9550)
  providers/scim: fix time_limit not set correctly (#9546)
  web/flows: fix error when enrolling multiple WebAuthn devices consecutively (#9545)
  web: bump ejs from 3.1.9 to 3.1.10 in /tests/wdio (#9542)
  web: bump API Client version (#9543)
  providers/saml: fix ecdsa support (#9537)
  website/integrations: nextcloud: connect to existing user (#9155)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#9535)
  web: bump the rollup group across 1 directory with 3 updates (#9532)
  website/developer-docs: Add note for custom YAML tags in an IDE (#9528)
  lifecycle: close database connection after migrating (#9516)
  web: bump the babel group in /web with 3 updates (#9520)
  core: bump node from 21 to 22 (#9521)
  web: bump @codemirror/lang-python from 6.1.5 to 6.1.6 in /web (#9523)
  providers/rac: bump guacd to 1.5.5 (#9514)
  core: only prefetch related objects when required (#9476)
  ...
kensternberg-authentik added a commit that referenced this pull request May 6, 2024
* dev:
  website/docs: fix openssl rand commands (#9554)
  web: bump @sentry/browser from 7.112.2 to 7.113.0 in /web in the sentry group (#9549)
  core, web: update translations (#9548)
  core: bump goauthentik.io/api/v3 from 3.2024041.1 to 3.2024041.2 (#9551)
  core: bump django-model-utils from 4.5.0 to 4.5.1 (#9550)
  providers/scim: fix time_limit not set correctly (#9546)
BeryJu added a commit that referenced this pull request May 7, 2024
…#9384)

* providers/google: initial account sync to google workspace

Signed-off-by: Jens Langhammer <[email protected]>

* start separating scim sync client

Signed-off-by: Jens Langhammer <[email protected]>

* generalize more...ish

Signed-off-by: Jens Langhammer <[email protected]>

* set dispatch_uid

Signed-off-by: Jens Langhammer <[email protected]>

* start generalizing task

Signed-off-by: Jens Langhammer <[email protected]>

* fully separate tasks

Signed-off-by: Jens Langhammer <[email protected]>

* fix more

Signed-off-by: Jens Langhammer <[email protected]>

* fix signals...?

Signed-off-by: Jens Langhammer <[email protected]>

* start google dedupe

Signed-off-by: Jens Langhammer <[email protected]>

* drawing the rest of the owl

Signed-off-by: Jens Langhammer <[email protected]>

* more

Signed-off-by: Jens Langhammer <[email protected]>

* juse use a whole lot less magic

Signed-off-by: Jens Langhammer <[email protected]>

* member sync, better implement conflict/retry-able exceptions

Signed-off-by: Jens Langhammer <[email protected]>

* max wizards taller

Signed-off-by: Jens Langhammer <[email protected]>

* gen api, basic UI

Signed-off-by: Jens Langhammer <[email protected]>

* fix some bugs

Signed-off-by: Jens Langhammer <[email protected]>

* fix a bunch more bugs

Signed-off-by: Jens Langhammer <[email protected]>

* generalize sync status API

Signed-off-by: Jens Langhammer <[email protected]>

* rework sync chart

Signed-off-by: Jens Langhammer <[email protected]>

* add slugify to evaluator

Signed-off-by: Jens Langhammer <[email protected]>

* add test property mappings

Signed-off-by: Jens Langhammer <[email protected]>

* rename to google workspace

Signed-off-by: Jens Langhammer <[email protected]>

* handle existing objects

Signed-off-by: Jens Langhammer <[email protected]>

* fix credential render

Signed-off-by: Jens Langhammer <[email protected]>

* verify email has correct domain before syncing user

Signed-off-by: Jens Langhammer <[email protected]>

* fix missing docstring

Signed-off-by: Jens Langhammer <[email protected]>

* fix lock not being used

Signed-off-by: Jens Langhammer <[email protected]>

* abstract more common stuff away

Signed-off-by: Jens Langhammer <[email protected]>

* backport time limit fix

#9546
Signed-off-by: Jens Langhammer <[email protected]>

* start discovery

Signed-off-by: Jens Langhammer <[email protected]>

* implement discover for google

Signed-off-by: Jens Langhammer <[email protected]>

* prevent same issue as with #9557

Signed-off-by: Jens Langhammer <[email protected]>

* fix sync status

Signed-off-by: Jens Langhammer <[email protected]>

* make group name unique in API

Signed-off-by: Jens Langhammer <[email protected]>

* fix reference to old wrapper

Signed-off-by: Jens Langhammer <[email protected]>

* start adding tests

man this api client is awful

Signed-off-by: Jens Langhammer <[email protected]>

* add SkipObject

Signed-off-by: Jens Langhammer <[email protected]>

* dont use weak ref

Signed-off-by: Jens Langhammer <[email protected]>

* add group tests

Signed-off-by: Jens Langhammer <[email protected]>

* add user and group delete options

Signed-off-by: Jens Langhammer <[email protected]>

* set user agent

Signed-off-by: Jens Langhammer <[email protected]>

* if the api's testing tools are awful, let's just make our own

Signed-off-by: Jens Langhammer <[email protected]>

* add more tests and already fix some more bugs

Signed-off-by: Jens Langhammer <[email protected]>

* add discover

Signed-off-by: Jens Langhammer <[email protected]>

* add preview banner

Signed-off-by: Jens Langhammer <[email protected]>

* add group import test

Signed-off-by: Jens Langhammer <[email protected]>

* only import users/groups in the correct parent group

Signed-off-by: Jens Langhammer <[email protected]>

* fix conflicting args

Signed-off-by: Jens Langhammer <[email protected]>

* fix missing schedule

Signed-off-by: Jens Langhammer <[email protected]>

* fix web ui

Signed-off-by: Jens Langhammer <[email protected]>

* add default_group_email_domain

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
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.

1 participant