website/docs: Add documentation for Glitchtip#8182
website/docs: Add documentation for Glitchtip#8182tanberry merged 2 commits intogoauthentik:mainfrom
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for authentik ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
rissson
left a comment
There was a problem hiding this comment.
Hi, thank you for your contribution!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8182 +/- ##
==========================================
+ Coverage 91.66% 92.25% +0.59%
==========================================
Files 608 632 +24
Lines 30262 31297 +1035
==========================================
+ Hits 27739 28873 +1134
+ Misses 2523 2424 -99
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| - `glitchtip.company` is the FQDN of the Glitchtip install. | ||
| - `authentik.company` is the FQDN of the authentik install. | ||
|
|
||
| ## authentik Configuration |
There was a problem hiding this comment.
| ## authentik Configuration | |
| ## authentik configuration |
There was a problem hiding this comment.
@tanberry I copied this (uppercase C for configuration) from one of the other ones: https://github.com/search?q=repo%3Agoauthentik%2Fauthentik+%23%23+%22authentik+Configuration%22&type=code
In general it seems like there's inconsistencies in the headings and layouts of these service integration pages. Reading a few pages, you can tell they were written by different people, without a style guide (not a bad thing, just a feature of a project that's grown organically over time). Maybe they should all use a standard template?
There was a problem hiding this comment.
Yep, I was thinking we needed a template (the inconsistencies between the integrations are pretty wild) and then someone pointed out that we already DO have a template for integrations, haha. It is just rather hard to find: https://github.com/goauthentik/authentik/blob/main/website/integrations/_template/service.md
I'll find places to add a link to the tempalte, and in general try to get the word out that people contributing Integrations docs should use the template, and not copy form another (possibly incorrect) integration page. Thank you for making me dig into this more. :-)
We also do have a very very baby Style Guide for Docs... Needs a lot of work though... I'll get to it eventually.
There was a problem hiding this comment.
@tanberry I saw that template but didn't it because it looked pretty different to most of the other service pages I looked at 😅
|
|
||
| Create an application, using the provider you've created above. Note the slug of the application you've created. | ||
|
|
||
| ## Glitchtip Configuration |
There was a problem hiding this comment.
| ## Glitchtip Configuration | |
| ## Glitchtip configuration |
|
|
||
| Configuration of OpenID Connect providers in Glitchtip is done using Django Admin. | ||
|
|
||
| Create a superuser: |
There was a problem hiding this comment.
| Create a superuser: | |
| 1. Create a superuser: |
There was a problem hiding this comment.
Do think we need to be more specific about where one does this? Is in the UI of the Django Admin? If Yes, you could say:
- In the Django Admin UI, create a superuser.
| sudo docker exec -it glitchtip-web-1 ./manage.py createsuperuser | ||
| ``` | ||
|
|
||
| Go to https://glitchtip.company/admin/socialaccount/socialapp/ and log in with the newly-created superuser. |
There was a problem hiding this comment.
| Go to https://glitchtip.company/admin/socialaccount/socialapp/ and log in with the newly-created superuser. | |
| 2. Go to https://glitchtip.company/admin/socialaccount/socialapp/ and log in with the newly-created superuser. |
|
|
||
| Go to https://glitchtip.company/admin/socialaccount/socialapp/ and log in with the newly-created superuser. | ||
|
|
||
| Click "Add Social Application" |
There was a problem hiding this comment.
| Click "Add Social Application" | |
| 3. Click **Add Social Application** and enter the following details: |
|
|
||
| Click "Add Social Application" | ||
|
|
||
| Enter the following details: |
There was a problem hiding this comment.
| Enter the following details: |
| - Secret key: <Client Secret from Authentik> | ||
| - Key: leave blank | ||
| - Settings: `{"server_url": "https://auth.d.sb/application/o/<Slug of the application from above>/"}` | ||
| The URL should match the "OpenID Configuration Issuer" URL for the Authentik provider. |
There was a problem hiding this comment.
| The URL should match the "OpenID Configuration Issuer" URL for the Authentik provider. | |
| The URL should match the **OpenID Configuration Issuer** URL for the authentik provider. |
| - Provider: `OpenID Connect` | ||
| - Provider ID: `authentik` (should match the Redirect URI configured above) | ||
| - Provider Name: Whatever you want to appear on GlitchTip's log in button | ||
| - Client ID: <Client ID from Authentik> |
There was a problem hiding this comment.
| - Client ID: <Client ID from Authentik> | |
| - Client ID: <Client ID from authentik> |
| - Provider ID: `authentik` (should match the Redirect URI configured above) | ||
| - Provider Name: Whatever you want to appear on GlitchTip's log in button | ||
| - Client ID: <Client ID from Authentik> | ||
| - Secret key: <Client Secret from Authentik> |
There was a problem hiding this comment.
| - Secret key: <Client Secret from Authentik> | |
| - Secret key: <Client Secret from authentik> |
| - Settings: `{"server_url": "https://auth.d.sb/application/o/<Slug of the application from above>/"}` | ||
| The URL should match the "OpenID Configuration Issuer" URL for the Authentik provider. | ||
|
|
||
| This will add a "Log in with Authentik" button to the GlitchTip log in page. To add an Authentik account to an existing GlitchTip account, log in using the username/password, click _Profile_, then click _Add Account_ in the _Social Auth Accounts_ section. |
There was a problem hiding this comment.
| This will add a "Log in with Authentik" button to the GlitchTip log in page. To add an Authentik account to an existing GlitchTip account, log in using the username/password, click _Profile_, then click _Add Account_ in the _Social Auth Accounts_ section. | |
| This will add a **Log in with authentik** button to the GlitchTip login page. To add an authentik account to an existing GlitchTip account, log in using the username/password, click _Profile_, then click _Add Account_ in the _Social Auth Accounts_ section. |
|
Thanks - I'll make these changes when I have some time. Sorry I didn't see your first comment - GitHub didn't send me an email about it for some reason. |
| - Client ID: <Client ID from Authentik> | ||
| - Secret key: <Client Secret from Authentik> | ||
| - Key: leave blank | ||
| - Settings: `{"server_url": "https://auth.d.sb/application/o/<Slug of the application from above>/"}` |
✅ Deploy Preview for authentik ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
* main: (75 commits) Add missing commas, correction of spelling errors (#8680) website/docs: Add documentation for Glitchtip (#8182) website: add solve gitea group does not take effect (#8413) enterprise: fix read_only activating when no license is installed (#8697) core: fix blueprint export (#8695) web: bump the sentry group in /web with 1 update (#8687) web: bump yaml from 2.3.4 to 2.4.0 in /web (#8689) web: bump the eslint group in /web with 1 update (#8688) core: bump pytest from 8.0.1 to 8.0.2 (#8693) website: bump @types/react from 18.2.57 to 18.2.58 in /website (#8690) web: bump the eslint group in /tests/wdio with 1 update (#8691) core: bump sentry-sdk from 1.40.4 to 1.40.5 (#8692) core: bump coverage from 7.4.1 to 7.4.3 (#8694) providers/oauth2: fix inconsistent `sub` value when setting via mapping (#8677) translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#8678) translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#8679) core, web: update translations (#8672) root: fix config loading after refactor during ruff migration (#8674) root: early spring clean for linting (#8498) website/integrations: multiple integration edits (#7923) ...
Details
Adds documentation for how to configure Glitchtip.
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)make i18n-extract)If applicable
make website)