website/integrations: Mobilizon instructions (#4747)

* add mobilizonintegration

Signed-off-by: Tealk <tealk@rollenspiel.monster>

* replace inventory placeholder

Signed-off-by: Tealk <tealk@rollenspiel.monster>

* Replace placeholder

Signed-off-by: Tealk <tealk@rollenspiel.monster>

* text improvement

Signed-off-by: Tealk <tealk@rollenspiel.monster>

---------

Signed-off-by: Tealk <tealk@rollenspiel.monster>
This commit is contained in:
Tealk 2023-02-22 17:20:47 +01:00 committed by GitHub
parent 60d3da20f3
commit 7d9eef37ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,68 @@
---
title: Mobilizon
---
<span class="badge badge--secondary">Support level: Community</span>
## What is Mobilizon
From https://joinmobilizon.org/
:::note
Gather, organize and mobilize yourselves with a convivial, ethical, and emancipating tool. https://joinmobilizon.org
:::
## Preparation
The following placeholders will be used:
- `mobilizon.company` is the FQDN of the mobilizon install.
- `authentik.company` is the FQDN of the authentik install.
## authentik Configuration
### Step 1 - OAuth2/OpenID Provider
Create a OAuth2/OpenID Provider (under _Applications/Providers_) with these settings:
- Name : mobilizon
- Redirect URI: `https://mobilizon.company/auth/keycloak/callback`
### Step 3 - Application
Create an application (under _Resources/Applications_) with these settings:
- Name: Mobilizon
- Slug: mobilizon
- Provider: mobilizon
## Mobilizon Setup
Configure Mobilizon settings by editing the `config.exs` and add the following:
```
config :ueberauth,
Ueberauth,
providers: [
keycloak: {Ueberauth.Strategy.Keycloak, [default_scope: "openid profile email"]}
]
config :mobilizon, :auth,
oauth_consumer_strategies: [
{:keycloak, "authentik"}
]
config :ueberauth, Ueberauth.Strategy.Keycloak.OAuth,
client_id: "<Client ID>",
client_secret: "<Client Secret>",
site: "https://mobilizon.company",
authorize_url: "https://mobilizon.company/application/o/authorize/",
token_url: "https://mobilizon.company/application/o/token/",
userinfo_url: "https://mobilizon.company/application/o/userinfo/",
token_method: :post
```
Restart mobilizon.service
## Additional Resources
- https://docs.joinmobilizon.org/administration/configure/auth/

View file

@ -16,6 +16,7 @@ module.exports = {
"services/hedgedoc/index", "services/hedgedoc/index",
"services/kimai/index", "services/kimai/index",
"services/matrix-synapse/index", "services/matrix-synapse/index",
"services/mobilizon/index",
"services/nextcloud/index", "services/nextcloud/index",
"services/onlyoffice/index", "services/onlyoffice/index",
"services/paperless-ng/index", "services/paperless-ng/index",