Skip to content

Commit e17b8b8

Browse files
committed
Remove examples from docs and link to GH discussions
1 parent d7bc1c7 commit e17b8b8

File tree

2 files changed

+2
-82
lines changed
  • docs/docs

2 files changed

+2
-82
lines changed

docs/docs/documentation/getting-started/authentication/oidc.md

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -48,84 +48,4 @@ Take the client id and your discovery URL and update your environment variables
4848

4949
## Examples
5050

51-
### Authelia
52-
53-
Follow the instructions in [Authelia's documentation](https://www.authelia.com/configuration/identity-providers/open-id-connect/). Below is an example config.
54-
55-
!!! warning
56-
57-
This is only an example and not meant to be an exhaustive configuration. You should read through the documentation and adjust your configuration as needed.
58-
59-
=== "v4.37"
60-
61-
This configuration format has been deprecated in Authelia v4.38. It is still valid, however it will eventually be removed.
62-
63-
```yaml
64-
identity_providers:
65-
oidc:
66-
access_token_lifespan: 1h
67-
authorize_code_lifespan: 1m
68-
id_token_lifespan: 1h
69-
refresh_token_lifespan: 90m
70-
enable_client_debug_messages: false
71-
enforce_pkce: public_clients_only
72-
cors:
73-
endpoints:
74-
- authorization
75-
- token
76-
- revocation
77-
- introspection
78-
allowed_origins:
79-
- https://mealie.example.com
80-
clients:
81-
- id: mealie
82-
description: Mealie
83-
authorization_policy: one_factor
84-
redirect_uris:
85-
- https://mealie.example.com/login
86-
public: true
87-
grant_types:
88-
- authorization_code
89-
scopes:
90-
- openid
91-
- profile
92-
- groups
93-
- email
94-
```
95-
96-
=== "v4.38"
97-
98-
The configuration in Authelia v4.38 has changed. Although the old configuration will still work, it is deprecated and will eventually be removed.
99-
100-
```yaml
101-
identity_providers:
102-
oidc:
103-
jwks:
104-
- key: {{ secret "/secrets/private_key_file" | mindent 10 "|" | msquote }}
105-
enforce_pkce: public_clients_only
106-
cors:
107-
endpoints:
108-
- userinfo
109-
- authorization
110-
- token
111-
- revocation
112-
- introspection
113-
allowed_origins:
114-
- https://mealie.example.com
115-
allowed_origins_from_client_redirect_uris: false
116-
clients:
117-
- client_id: mealie
118-
client_name: Mealie
119-
authorization_policy: one_factor
120-
redirect_uris:
121-
- https://mealie.example.com/login
122-
public: true
123-
pkce_challenge_method: S256
124-
grant_types:
125-
- authorization_code
126-
scopes:
127-
- openid
128-
- profile
129-
- groups
130-
- email
131-
```
51+
Example configurations for several Identity Providers have been provided by the Community in the [GitHub Discussions](https://github.com/mealie-recipes/mealie/discussions?discussions_q=is%3Aopen+OAuth+setup). If you don't see your provider and have successfully set it up, please consider creating your own post so that others can have a smoother setup.

docs/docs/overrides/api.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)