Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enterprise: use tenant uuid instead of install_id when tenants are enabled #8823

Merged
merged 1 commit into from Mar 6, 2024

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Mar 6, 2024

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)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner March 6, 2024 13:50
Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 4383fa3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65e874b73098340008625b8a

Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 4383fa3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/65e874b7aeb13600082c4d42

@BeryJu BeryJu merged commit d51491e into main Mar 6, 2024
62 of 63 checks passed
@BeryJu BeryJu deleted the enterprise/fixup branch March 6, 2024 16:53
Copy link

Install ID for tenants

def get_unique_identifier() -> str:
"""Get a globally unique identifier that does not change"""
install_id = get_install_id()
if CONFIG.get_bool("tenants.enabled"):
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if that condition is needed.

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.

None yet

2 participants