Describe the bug
API/UI returns error when trying to login with a username that ends in a period "."
This happens in the UI/API when trying to login with the userpass method.
If the username is test. it returns the error unsupported path
this also happens when creating it manually like that:
http://127.0.0.1:8200/v1/auth/userpass/users/test. -> 1 error occurred: * unsupported path and for some reason 404
I can create these userpass accounts by first creating an entity.
then an userpass account.
then an alias connecting both.
your documentation is saying that it supports userpass accounts like that:
The username for the user. Accepted characters: alphanumeric plus "_", "-", "." (underscore, hyphen and period); username cannot begin with hyphen or period.
https://www.vaultproject.io/api/auth/userpass#parameters
The same is true when creating a transit encryption key.
archlinux/docker/x86/latest
Describe the bug
API/UI returns error when trying to login with a username that ends in a period "."
This happens in the UI/API when trying to login with the userpass method.
If the username is
test.it returns the errorunsupported paththis also happens when creating it manually like that:
http://127.0.0.1:8200/v1/auth/userpass/users/test.->1 error occurred: * unsupported pathand for some reason 404I can create these userpass accounts by first creating an entity.
then an userpass account.
then an alias connecting both.
your documentation is saying that it supports userpass accounts like that:
The username for the user. Accepted characters: alphanumeric plus "_", "-", "." (underscore, hyphen and period); username cannot begin with hyphen or period.
https://www.vaultproject.io/api/auth/userpass#parameters
The same is true when creating a transit encryption key.
archlinux/docker/x86/latest