authentik fork
This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Ken Sternberg 4e5ea05987
web: refactor locale handler into top-level context handler (#6022)
* web: begin refactoring the application for future development

This commit:

- Deletes a bit of code.
- Extracts *all* of the Locale logic into a single folder, turns management of the Locale files over
  to Lit itself, and restricts our responsibility to setting the locale on startup and when the user
  changes the locale. We do this by converting a lot of internal calls into events; a request to
  change a locale isn't a function call, it's an event emitted asking `REQUEST_LOCALE_CHANGE`. We've
  even eliminated the `DETECT_LOCALE_CHANGE` event, which redrew elements with text in them, since
  Lit's own `@localized()` decorator does that for us automagically.
- We wrap our interfaces in an `ak-locale-context` that handles the startup and listens for the
  `REQUEST_LOCALE_CHANGE` event.
- ... and that's pretty much it.  Adding `@localized()` as a default behavior to `AKElement` means
  no more custom localization is needed *anywhere*.

* web: improve the localization experience

This commit fixes the Storybook story for the localization context component,
and fixes the localization initialization pass so that it is only called once
per interface environment initialization.  Since all our interfaces share the
same environment (the Django server), this preserves functionality across
all interfaces.

---------

Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-07-07 14:23:10 +00:00
.github ci: bump actions/setup-node from 3.6.0 to 3.7.0 (#6156) 2023-07-06 11:35:13 +02:00
.vscode root: celery refactor (#6095) 2023-06-28 16:44:50 +02:00
authentik release: 2023.6.0 2023-07-07 13:43:16 +02:00
blueprints policies/event_matcher: change empty values to null (#6032) 2023-06-21 15:49:46 +02:00
cmd cmd: use live endpoint instead of ready for inbuild healthcheck 2023-05-08 22:04:18 +02:00
internal release: 2023.6.0 2023-07-07 13:43:16 +02:00
lifecycle root: celery refactor (#6095) 2023-06-28 16:44:50 +02:00
locale core: compile backend translations (#6030) 2023-06-21 13:46:31 +02:00
schemas providers: SCIM (#4835) 2023-03-06 19:39:08 +01:00
scripts root: fix generate_config script not setting debug (#5465) 2023-05-03 23:52:59 +03:00
tests sources/ldap: improve scalability (#6056) 2023-06-28 17:13:42 +02:00
web web: refactor locale handler into top-level context handler (#6022) 2023-07-07 14:23:10 +00:00
website website: finalise 2023.6 release notes (#6177) 2023-07-07 12:17:15 +02:00
.bumpversion.cfg release: 2023.6.0 2023-07-07 13:43:16 +02:00
.dockerignore enterprise: initial license (#5293) 2023-04-19 16:13:45 +02:00
.editorconfig website: codespell with custom dictionary and CI (#5062) 2023-03-24 00:24:55 +01:00
.gitignore sources/ldap: include UnwillingToPerformError as possible exception (#6031) 2023-06-21 19:45:20 +03:00
CODEOWNERS root: Test codeowners (#5586) 2023-05-11 20:26:04 +02:00
CODE_OF_CONDUCT.md root: rework and expand security policy 2022-11-28 12:10:53 +01:00
CONTRIBUTING.md website/developer-docs: move contributing to dev docs index and link contributing file (#5554) 2023-05-09 20:26:55 +02:00
Dockerfile root: add version and commit to container labels (#6054) 2023-06-24 00:10:27 +02:00
LICENSE enterprise: initial license (#5293) 2023-04-19 16:13:45 +02:00
Makefile sources/ldap: add support for cert based auth (#5850) 2023-06-12 15:41:44 +02:00
README.md web: Add storybook (#5865) 2023-06-07 13:05:33 +02:00
SECURITY.md web: Add storybook (#5865) 2023-06-07 13:05:33 +02:00
docker-compose.override.yml root: celery refactor (#6095) 2023-06-28 16:44:50 +02:00
docker-compose.yml release: 2023.6.0 2023-07-07 13:43:16 +02:00
go.mod core: bump goauthentik.io/api/v3 from 3.2023054.2 to 3.2023054.4 (#6154) 2023-07-06 11:48:00 +02:00
go.sum core: bump goauthentik.io/api/v3 from 3.2023054.2 to 3.2023054.4 (#6154) 2023-07-06 11:48:00 +02:00
ldap.Dockerfile root: add version and commit to container labels (#6054) 2023-06-24 00:10:27 +02:00
manage.py root: update deprecation warnings 2022-11-25 11:47:28 +01:00
poetry.lock core: bump sentry-sdk from 1.27.0 to 1.27.1 (#6174) 2023-07-07 12:07:54 +02:00
proxy.Dockerfile root: add version and commit to container labels (#6054) 2023-06-24 00:10:27 +02:00
pyproject.toml release: 2023.6.0 2023-07-07 13:43:16 +02:00
radius.Dockerfile root: add version and commit to container labels (#6054) 2023-06-24 00:10:27 +02:00
schema.yml release: 2023.6.0 2023-07-07 13:43:16 +02:00

README.md

authentik logo


Join Discord GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Code Coverage Docker pulls Latest version

What is authentik?

authentik is an open-source Identity Provider that emphasizes flexibility and versatility. It can be seamlessly integrated into existing environments to support new protocols. authentik is also a great solution for implementing sign-up, recovery, and other similar features in your application, saving you the hassle of dealing with them.

Installation

For small/test setups it is recommended to use Docker Compose; refer to the documentation.

For bigger setups, there is a Helm Chart here. This is documented here.

Screenshots

Light Dark

Development

See Developer Documentation

Security

See SECURITY.md

Adoption and Contributions

Your organization uses authentik? We'd love to add your logo to the readme and our website! Email us @ hello@goauthentik.io or open a GitHub Issue/PR! For more information on how to contribute to authentik, please refer to our CONTRIBUTING.md file.

Sponsors

This project is proudly sponsored by:

DigitalOcean provides development and testing resources for authentik.