Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: quickstart config #2328

Merged
merged 7 commits into from
Feb 5, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/docs/5min-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,42 @@ order to avoid conflicts with other tutorials from this guide:
$ docker-compose -f quickstart.yml kill
$ docker-compose -f quickstart.yml rm -f -v
```

### Quickstart Configuration

In this tutorial we use a simplified configuration.
You can find it in `contrib/quickstart/5-min/hydra.yml`.
The configuration gets loaded in docker-compose as specified in the
`quickstart.yml`.

```yml
vinckr marked this conversation as resolved.
Show resolved Hide resolved
serve:
cookies:
same_site_mode: Lax
# cookies are only set when the domain in the URL of the browser matches the domain of the cookie

urls:
self:
issuer: http://127.0.0.1:4444
consent: http://127.0.0.1:3000/consent
login: http://127.0.0.1:3000/login
logout: http://127.0.0.1:3000/logout

secrets:
system:
- youReallyNeedToChangeThis

oidc:
# Configures OpenID Connect features.
subject_identifiers:
# A list of algorithms to enable.
supported_types:
- pairwise
- public
pairwise:
# Configures the pairwise algorithm.
salt: youReallyNeedToChangeThis
```

Have a look at the [reference configuration](./reference/configuration.md) for
further information.