-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from jr200/feature/support_multiple_idps
feature: support multiple identity providers
- Loading branch information
Showing
12 changed files
with
176 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
idp: | ||
client_id: private | ||
issuer_url: | ||
- https://oidctest.wsweet.org/ | ||
- description: oidctest-private | ||
client_id: private | ||
issuer_url: https://oidctest.wsweet.org/ | ||
|
||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- private | ||
exp: | ||
min: 1m0s | ||
max: 2h | ||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- private | ||
exp: | ||
min: 1m0s | ||
max: 2h | ||
|
||
- description: random-ununused-item | ||
client_id: random | ||
issuer_url: https://oidctest.wsweet.org/ | ||
|
||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- random-aud | ||
exp: | ||
min: 1m0s | ||
max: 2h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,48 @@ | ||
idp: | ||
client_id: public | ||
issuer_url: | ||
- https://oidctest.wsweet.org/ | ||
- description: random-ununused-item | ||
client_id: random-start | ||
issuer_url: https://oidctest.wsweet.org/ | ||
|
||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- public | ||
exp: | ||
min: 1m0s | ||
max: 2h | ||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- random-aud | ||
exp: | ||
min: 1m0s | ||
max: 2h | ||
|
||
- description: oidctest-public | ||
client_id: public | ||
issuer_url: https://oidctest.wsweet.org/ | ||
|
||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- public | ||
exp: | ||
min: 1m0s | ||
max: 2h | ||
|
||
- description: random-ununused-item | ||
client_id: random-end | ||
issuer_url: https://oidctest.wsweet.org/ | ||
|
||
validation: | ||
claims: | ||
- aud | ||
- iat | ||
- exp | ||
- sub | ||
aud: | ||
- random-aud | ||
exp: | ||
min: 1m0s | ||
max: 2h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ RUN apk update && apk add --no-cache git bash curl jq make | |
|
||
RUN go install github.com/nats-io/nats-server/[email protected] | ||
RUN go install github.com/nats-io/natscli/[email protected] | ||
RUN go install github.com/nats-io/nsc/v2@v2.8.7 | ||
RUN go install github.com/nats-io/nsc/v2@v2.9.0 | ||
|
||
WORKDIR /usr/src/app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ RUN apk update && apk add --no-cache git bash curl jq make | |
|
||
RUN go install github.com/nats-io/nats-server/[email protected] | ||
RUN go install github.com/nats-io/natscli/[email protected] | ||
RUN go install github.com/nats-io/nsc/v2@v2.8.7 | ||
RUN go install github.com/nats-io/nsc/v2@v2.9.0 | ||
|
||
WORKDIR /usr/src/app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.