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/Remove token_type field from token auth method #12904

Merged
merged 14 commits into from
Oct 29, 2021

Conversation

hellobontempo
Copy link
Contributor

@hellobontempo hellobontempo commented Oct 22, 2021

For the Token Auth method the token_type field should not exist, but may exist for other auth methods. Also made all auth methods linkable plus added copy for those that the UI doesn't support management of.

With Fix
auth-methods-token-type

Former Behavior
image

All auth methods linkable
auth-methods-list

@hellobontempo hellobontempo marked this pull request as draft October 22, 2021 14:49
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 19:06 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 19:09 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook October 27, 2021 19:09 Inactive
@hellobontempo hellobontempo marked this pull request as ready for review October 27, 2021 19:15
Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

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

Looks great, thank you!

@hellobontempo hellobontempo added this to the 1.9 milestone Oct 29, 2021
@hellobontempo hellobontempo linked an issue Oct 29, 2021 that may be closed by this pull request
@hellobontempo hellobontempo linked an issue Oct 29, 2021 that may be closed by this pull request
@hellobontempo hellobontempo merged commit e1c61a3 into main Oct 29, 2021
@hellobontempo hellobontempo deleted the ui/remove-token-type-field-token-auth branch October 29, 2021 20:00
hellobontempo added a commit that referenced this pull request Oct 29, 2021
* chane form field to angle bracket syntax

* computes tuneAttrs depending on auth method type

* make all attrs linkable

* delete token_type for token auth methods before save

* adds changelog

* adds copy to unsupported auth methods

* adds doc link to copy

* adds test for linkable auth method list
hellobontempo added a commit that referenced this pull request Oct 29, 2021
* change form field to angle bracket syntax

* computes tuneAttrs depending on auth method type

* make all attrs linkable

* delete token_type for token auth methods before save

* adds changelog

* adds copy to unsupported auth methods

* adds doc link to copy

* adds test for linkable auth method list
qk4l pushed a commit to qk4l/vault that referenced this pull request Feb 4, 2022
* chane form field to angle bracket syntax

* computes tuneAttrs depending on auth method type

* make all attrs linkable

* delete token_type for token auth methods before save

* adds changelog

* adds copy to unsupported auth methods

* adds doc link to copy

* adds test for linkable auth method list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: token auth method page shows token_type option
2 participants