Repository navigation
website/api: update API clients doc - #21202
Conversation
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21202 +/- ##
==========================================
- Coverage 92.81% 92.75% -0.06%
==========================================
Files 1000 1000
Lines 56635 56635
Branches 425 425
==========================================
- Hits 52564 52532 -32
- Misses 4071 4103 +32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
|
||
| ## Usage in authentik | ||
|
|
||
| API clients used by authentik itself are vendored in the [authentik repository](https://github.com/goauthentik/authentik) under the `/packages/client-*` paths. |
There was a problem hiding this comment.
What do we mean here by "vendored"? Are they sold? Or generated, or accessed, or.. what would be another verb?
There was a problem hiding this comment.
The api clients are generated automatically and checked in to version control (and are committed and pushed to github)
There was a problem hiding this comment.
exactly, pretty common term that should be understood
There was a problem hiding this comment.
I'd recommend using the term "generated" but up to you.
|
|
||
| API clients used by authentik itself are vendored in the [authentik repository](https://github.com/goauthentik/authentik) under the `/packages/client-*` paths. | ||
|
|
||
| To generate those in that repository, run `make gen-clients`. To generate the client for a specific language, use the following commands: |
There was a problem hiding this comment.
To generate those ? Let's add the name after the word "those".... is it the clients?
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-14f6b13702fff2e9f28a0a554da5440d0877d5b7
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-14f6b13702fff2e9f28a0a554da5440d0877d5b7Afterwards, run the upgrade commands from the latest release notes. |
| import TabItem from "@theme/TabItem"; | ||
| import Tabs from "@theme/Tabs"; | ||
|
|
||
| ## Installation |
There was a problem hiding this comment.
| ## Installation | |
| ## Install the authentik client |
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ## Inspecting the client source code |
There was a problem hiding this comment.
| ## Inspecting the client source code | |
| ## Inspect the client source code |
There was a problem hiding this comment.
We don't use gerund form (-ing) in our titles
|
|
||
| The `main` branch only contains code for generating the API client. Navigate to a specific branch or tag to see the source code of the API client for the corresponding authentik version. For unreleased versions, see the next section. | ||
|
|
||
| ## Generating a custom API client |
There was a problem hiding this comment.
| ## Generating a custom API client | |
| ## Generate a custom API client |
* main: translate: Updates for project authentik and language fr_FR (#21285) packages/django-postgres-cache: rework to use ORM (#17771) providers/saml: Fix redirect for saml slo (#21258) core: fix provider not nullable (#21275) website/docs: ad source: add note about ldap signing (#21274) website/api: update API clients doc (#21202) ci: bump taiki-e/install-action from 2.70.2 to 2.70.3 in /.github/actions/setup (#21267) lifecycle/aws: bump aws-cdk from 2.1114.1 to 2.1115.0 in /lifecycle/aws (#21265) core, web: update translations (#21264) packages/ak-lib: init (#21257) website/docs: document group_uuid as a property for group object (#20865) web/flow: extract lifecycle events peripheral to stage management into their own controllers (#20898) core: bump pygments from 2.19.2 to 2.20.0 (#21260) website/docs: add grafana dashboard (#21254)
Details
REPLACE ME
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen)If changes to the frontend have been made
make web)If applicable
make docs)