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.
Find a file
Ken Sternberg 6eb33f4f6c
web/admin: simplify sidebar renderer (#6797)
* Added a 'Hard-Core' lint mode to pre-commit; this will not automagically
fix all your problems, but it will show you where some deeper issues arise.

* web: streamline sidebar renderer

The sidebar renderer had a lot of repetitive code that could easily be templatized,
so I extracted the content from it and turned it into a table.

* web: complexity of the Sidebar now below 10.

This commit incorporates SonarJS into the pre-commit (and *only*
the pre-commit) linting pass; SonarJS is much more comprehensive
in its complaints, and it's helpful in breaking long functions down
to their simplest forms.

In this case, the `renderSidebarItems()` function was considered
"unreadable," and I've managed to boil it down to its three special
cases (new version, impersonation, and enterprise notification) and
its routine case (the rest of the sidebar).

Going forward, I'd like all our commits to correspond to the
SonarJS settings I've established in .eslint.precommit.json, but
I'm not gonna hate on others if they don't quite hit it.  :-)

* web: modernization continues.

Three of our four Babel plug-ins have moved from 'proposed' to 'accepted'; I have
updated package.json and the .babelrc file to accept those.

Node's ability to set its max_old_space_size via the environment variable was
enable in 2019; using it here makes it easier to move this code toward a
multi-package monorepo in the future.

* Adding 'cross-env' so that the uses of the NODE_OPTIONS environment will work (theoretically) on Windows.
2023-09-11 12:58:55 -07:00
.github ci: go-lint: disable cache 2023-09-11 15:44:26 +02:00
.vscode root: migrate bootstrap to blueprints (#6433) 2023-07-31 19:34:46 +02:00
authentik core: remove celery's duplicate max_tasks_per_child (#6840) 2023-09-11 18:12:18 +02:00
blueprints stages/authenticator: vendor otp (#6741) 2023-09-04 11:45:14 +02:00
cmd root: connect to backend via socket (#6720) 2023-09-02 17:58:37 +02:00
internal root: connect to backend via socket (#6720) 2023-09-02 17:58:37 +02:00
lifecycle fix ak test-all dependencies 2023-09-11 15:44:26 +02:00
locale core: compile backend translations (#6835) 2023-09-11 12:42:19 +02:00
schemas providers: SCIM (#4835) 2023-03-06 19:39:08 +01:00
scripts providers/oauth2: fix id_token being saved incorrectly leading to lost claims (#6645) 2023-08-28 00:51:48 +02:00
tests stages/authenticator: vendor otp (#6741) 2023-09-04 11:45:14 +02:00
web web/admin: simplify sidebar renderer (#6797) 2023-09-11 12:58:55 -07:00
website website/docs: prepare 2023.8.3 release notes (#6843) 2023-09-11 18:54:36 +02:00
.bumpversion.cfg release: 2023.8.2 2023-09-01 17:27:16 +02:00
.dockerignore dockerignore: add .git 2023-09-11 15:44:26 +02:00
.editorconfig website: codespell with custom dictionary and CI (#5062) 2023-03-24 00:24:55 +01:00
.gitignore root: add generated Source docs (#5323) 2023-07-31 11:59:20 +02:00
CODE_OF_CONDUCT.md root: rework and expand security policy 2022-11-28 12:10:53 +01:00
CODEOWNERS root: Test codeowners (#5586) 2023-05-11 20:26:04 +02: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
docker-compose.yml release: 2023.8.2 2023-09-01 17:27:16 +02:00
Dockerfile try to not save new things in the root directory 2023-09-11 15:44:26 +02:00
go.mod core: bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0 (#6771) 2023-09-06 12:22:32 +02:00
go.sum core: bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0 (#6771) 2023-09-06 12:22:32 +02:00
ldap.Dockerfile mount binds all around 2023-09-11 15:44:26 +02:00
LICENSE enterprise: initial license (#5293) 2023-04-19 16:13:45 +02:00
Makefile web/admin: fix ak-toggle-group for policy and blueprint uses (#6687) 2023-08-30 12:46:58 +02:00
manage.py root: update deprecation warnings 2022-11-25 11:47:28 +01:00
poetry.lock core: bump pdoc from 14.0.0 to 14.1.0 (#6832) 2023-09-11 12:24:53 +02:00
proxy.Dockerfile mount binds all around 2023-09-11 15:44:26 +02:00
pyproject.toml stages/authenticator: vendor otp (#6741) 2023-09-04 11:45:14 +02:00
radius.Dockerfile mount binds all around 2023-09-11 15:44:26 +02:00
README.md web: Add storybook (#5865) 2023-06-07 13:05:33 +02:00
schema.yml stages/authenticator: vendor otp (#6741) 2023-09-04 11:45:14 +02:00
SECURITY.md website: update 2023.8 release notes (#6666) 2023-08-29 19:57:14 +02:00

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.