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

adds issuer command-line argument #21

Merged
merged 3 commits into from
Jun 15, 2024
Merged

adds issuer command-line argument #21

merged 3 commits into from
Jun 15, 2024

Conversation

remcojansen
Copy link
Collaborator

@remcojansen remcojansen commented Jun 13, 2024

This PR adds --issuer as a required command-line argument. All endpoints are discovered by default based on the issuer, but options are kept to override each endpoint when needed.

Some refactoring was done to merge the client and server configuration in a single structure and tests were updated to use the flow configuration structure in order to more easily add additional flow-specific configuration going forward.

@remcojansen remcojansen marked this pull request as draft June 13, 2024 19:15
@remcojansen remcojansen marked this pull request as ready for review June 14, 2024 13:48
Copy link
Owner

@jentz jentz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like having the configs together. I just recommend we follow the "no stuttering" recommendation in Go.

oidc_config.go Outdated Show resolved Hide resolved
@remcojansen remcojansen merged commit bb7f9c4 into main Jun 15, 2024
1 check passed
@remcojansen remcojansen deleted the issuer-argument branch June 15, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants