Skip to content

Commit a7bf65d

Browse files
authored
Merge pull request #114 from NickBootOne/main
Add Pocket-ID OpenID configuration guide
2 parents aeecc8b + da9ed01 commit a7bf65d

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

src/administration-guide/openid.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Links:
1313
* [Okta config](./openid/okta.md)
1414
* [Azure config](./openid/azure.md)
1515
* [Zitadel config](./openid/zitadel.md)
16+
* [Pocket-ID config](./openid/pocket-id.md)
1617

1718
Example of SSO provider configuration:
1819

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<div class="breadcrumbs">
2+
<a href="/administration-guide/openid">OpenID</a>
3+
→ GitLab config
4+
</div>
5+
6+
# Pocket-ID config
7+
8+
`config.json`:
9+
```json
10+
"oidc_providers": {
11+
"pocketid": {
12+
"display_name": "Sign in with PocketID",
13+
"provider_url": "https://<your-pocket-id-url>",
14+
"client_id": "<client-id-from-pocket-id>",
15+
"client_secret": "<client-secret-from-pocket-id>",
16+
"redirect_url": "https://<your-semaphore-ui-url>/api/auth/oidc/pocketid/redirect/",
17+
"scopes": [
18+
"openid",
19+
"profile",
20+
"email"
21+
],
22+
"username_claim": "email",
23+
"name_claim": "given_name"
24+
}
25+
}
26+
```
27+
28+
Info is also on Pocket-ID Site under Client Examples: [Pocket-ID Client Examples - Semaphore UI](https://pocket-id.org/docs/client-examples/semaphore-ui/).

0 commit comments

Comments
 (0)