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

UI: Changes jwks_ca_pem param to a 'file' edit type #24697

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

hellobontempo
Copy link
Contributor

@hellobontempo hellobontempo commented Jan 5, 2024

Fixes hashicorp/vault-plugin-auth-jwt#248 by adding upload capabilities for the jwks_ca_pem param. Previously the input was a basic (single line) text input, now a user can upload a PEM certificate or paste it in a multi-line text area. The CA is submitted in the correct format now, see the screenshot below includes line breaks where expected:
Screenshot 2024-01-05 at 4 08 11 PM

Screenshot 2024-01-05 at 3 56 22 PM

@hellobontempo hellobontempo added this to the 1.13.13 milestone Jan 5, 2024
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jan 5, 2024
Comment on lines +40 to +50
jwksUrl: attr('string', {
label: 'JWKS URL',
}),

oidcResponseMode: attr('string', {
label: 'OIDC response mode',
}),

oidcResponseTypes: attr('string', {
label: 'OIDC response types',
}),
Copy link
Contributor Author

@hellobontempo hellobontempo Jan 5, 2024

Choose a reason for hiding this comment

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

While here decided to add these labels to uppercase properly. Previously they were coming in directly from openAPI and read as Jwks or Oidc

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you. These small catches do a lot to increase the overall ux.

Copy link

github-actions bot commented Jan 6, 2024

Build Results:
All builds succeeded! ✅

Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to upload PEM for JWT CA using UI
2 participants