You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,51 @@ OpenID Connect user backend for Nextcloud
12
12
See [Nextcloud and OpenID-Connect](https://web.archive.org/web/20240412121655/https://www.schiessle.org/articles/2023/07/04/nextcloud-and-openid-connect/)
13
13
for a proper jumpstart.
14
14
15
+
---
16
+
17
+
## `user_oidc.httpclient.allowselfsigned`
18
+
19
+
```php
20
+
'user_oidc' => [
21
+
'httpclient.allowselfsigned' => true,
22
+
]
23
+
```
24
+
25
+
This configuration allows Nextcloud to **trust self-signed SSL certificates** when making HTTP requests through the internal HTTP client.
26
+
It is especially useful when your OAuth2 or OIDC provider is hosted locally or uses a self-signed certificate not recognized by public CAs.
27
+
28
+
***true**: Disables SSL certificate verification (adds the `verify => false` option to the actual HTTP client)
29
+
***false** (default): SSL verification remains enabled and strict
30
+
31
+
> ⚠️ Use with caution in production environments, as disabling certificate verification can introduce security risks.
32
+
33
+
---
34
+
35
+
## `user_oidc.prompt`
36
+
37
+
```php
38
+
'user_oidc' => [
39
+
'prompt' => 'internal'
40
+
]
41
+
```
42
+
43
+
This option allows customizing the `prompt` parameter sent in the OAuth2/OIDC authorization request.
44
+
45
+
Supported values include:
46
+
47
+
*`none`
48
+
*`login`
49
+
*`consent`
50
+
*`internal` (custom)
51
+
52
+
The `internal` prompt is specific to **[OAuth2 Passport Server](https://github.com/elyerr/oauth2-passport-server)** and is designed to enable seamless login
53
+
for private or internal applications without requiring user consent or interaction.
54
+
55
+
Documentation for all supported prompt values is available here:
56
+
[Oauth2 passport server prompts-supported](https://gitlab.com/elyerr/oauth2-passport-server/-/wikis/home/prompts-supported)
57
+
58
+
---
59
+
15
60
### User IDs
16
61
17
62
The OpenID Connect backend will ensure that user ids are unique even when multiple providers would report the same user
0 commit comments