Skip to content

Commit

Permalink
Indent code block in OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
nblock committed Oct 9, 2024
1 parent f1d84bc commit 2d0d534
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docs/ref/oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,12 @@ However if you don't have a domain, or need to add users outside of your domain,
8. Click `Save` at the bottom of the form
9. Take note of the `Client ID` and `Client secret`, you can also download it for reference if you need it.
10. Edit your headscale config, under `oidc`, filling in your `client_id` and `client_secret`:

```yaml
oidc:
issuer: "https://accounts.google.com"
client_id: ""
client_secret: ""
scope: ["openid", "profile", "email"]
```
```yaml
oidc:
issuer: "https://accounts.google.com"
client_id: ""
client_secret: ""
scope: ["openid", "profile", "email"]
```

You can also use `allowed_domains` and `allowed_users` to restrict the users who can authenticate.

0 comments on commit 2d0d534

Please sign in to comment.