hedgeagent/1.12.0 #1

Open
sa6anw wants to merge 201 commits from hedgeagent/1.12.0 into hedgeagent/1.10.5
Showing only changes of commit 03775f0f80 - Show all commits

View File

@@ -22,12 +22,11 @@ identity_providers:
refresh_token_lifespan: 90m refresh_token_lifespan: 90m
enable_client_debug_messages: false enable_client_debug_messages: false
clients: clients:
- id: HedgeDoc # this should be changed to something more secure - client_id: <random client id>
description: HedgeDoc SSO client_name: HedgeDoc
secret: <client secret here> secret: <client secret here>
public: false public: false
authorization_policy: two_factor authorization_policy: two_factor
audience: []
scopes: scopes:
- openid - openid
- email - email
@@ -43,7 +42,7 @@ identity_providers:
- form_post - form_post
- query - query
- fragment - fragment
userinfo_signing_algorithm: none token_endpoint_auth_method: 'client_secret_post'
``` ```
4. Restart Authelia to apply to new configuration and check for any errors in the log 4. Restart Authelia to apply to new configuration and check for any errors in the log
@@ -53,7 +52,7 @@ identity_providers:
- CMD_URL_ADDPORT=false - CMD_URL_ADDPORT=false
- CMD_PROTOCOL_USESSL=true - CMD_PROTOCOL_USESSL=true
- CMD_OAUTH2_PROVIDERNAME=Authelia - CMD_OAUTH2_PROVIDERNAME=Authelia
- CMD_OAUTH2_CLIENT_ID=HedgeDoc - CMD_OAUTH2_CLIENT_ID=<client id here>
- CMD_OAUTH2_CLIENT_SECRET=<client secret here> - CMD_OAUTH2_CLIENT_SECRET=<client secret here>
- CMD_OAUTH2_SCOPE=openid email profile - CMD_OAUTH2_SCOPE=openid email profile
- CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=sub - CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=sub
@@ -61,7 +60,7 @@ identity_providers:
- CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email - CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
- CMD_OAUTH2_USER_PROFILE_URL=https://<your-authelia-url>/api/oidc/userinfo - CMD_OAUTH2_USER_PROFILE_URL=https://<your-authelia-url>/api/oidc/userinfo
- CMD_OAUTH2_TOKEN_URL=https://<your-authelia-url>/api/oidc/token - CMD_OAUTH2_TOKEN_URL=https://<your-authelia-url>/api/oidc/token
- CMD_OAUTH2_AUTHORIZATION_URL=https://<your-authelia-url>/api/oidc/authorize - CMD_OAUTH2_AUTHORIZATION_URL=https://<your-authelia-url>/api/oidc/authorization
``` ```
6. Run `docker-compose up -d` on HedgeDoc to apply your settings. 6. Run `docker-compose up -d` on HedgeDoc to apply your settings.