2024-02-09 12:50:43 +11:00
|
|
|
# varo-openid
|
2024-02-09 23:04:20 +11:00
|
|
|
|
|
|
|
## Add a client
|
2024-02-09 23:06:26 +11:00
|
|
|
Go to /create-client and add a new client.
|
|
|
|
|
2024-02-13 22:54:42 +11:00
|
|
|
Set the following parameters:
|
2024-02-09 23:04:20 +11:00
|
|
|
|
2024-02-13 22:54:42 +11:00
|
|
|
Allowed Scope: `profile`
|
|
|
|
Allowed Grant Types: `authorization_code`
|
|
|
|
Allowed Response Types: `code`
|
2024-02-09 23:04:20 +11:00
|
|
|
Token Endpoint Authentication Method: `client_secret_post`
|
|
|
|
|
2024-02-13 22:54:42 +11:00
|
|
|
## Client settings
|
|
|
|
Set the following parameters:
|
2024-02-13 22:58:10 +11:00
|
|
|
`Client ID`: Given by the previous step
|
|
|
|
`Client Secret`: Given by the previous step
|
|
|
|
`Authorization URL`: `https://login.hns.au/oauth/authorize`
|
|
|
|
`Token URL`: `https://login.hns.au/oauth/token`
|
|
|
|
`Userinfo URL`: `https://login.hns.au/api/me`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Deploy your own instance
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker volume create hns-login
|
|
|
|
docker run -d -p 9090:9090 --name hns-login -v hns-login:/app/instance git.woodburn.au/nathanwoodburn/hns-login:latest
|
|
|
|
```
|
2024-02-13 22:54:42 +11:00
|
|
|
|