You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When GCP is used as storage backend and RADIUS is used as auth method request to authenticate against RADIUS is being sent twice for users without explicitly configured policies.
To Reproduce
Steps to reproduce the behavior:
Intialize Vault with GCP storage backend,
Enable RADIUS auth method under auth/radius path,
Run vault login -method=userpass -path=radius username=xxx (xxx shouldn't have any policies assigned, should only use those configured with unregistered_user_policies
In such case, after successfull authentication context is cancelled due to:
"error":"failed to read value for \"auth/<hash>/user/mpietraszek\": Get https://storage.googleapis.com/magic-bucket/auth/<hash>/user/mpietraszek: context canceled"
After that cancellation another request to RADIUS is being made. The latter fails as OTP was already used.
Below is a tcpdump showing requests being made during authentication process:
When GCP is used as storage backend and RADIUS is used as auth method request to authenticate against RADIUS is being sent twice for users without explicitly configured policies.
To Reproduce
Steps to reproduce the behavior:
vault login -method=userpass -path=radius username=xxx
(xxx shouldn't have any policies assigned, should only use those configured withunregistered_user_policies
In such case, after successfull authentication context is cancelled due to:
After that cancellation another request to RADIUS is being made. The latter fails as OTP was already used.
Below is a tcpdump showing requests being made during authentication process:
Expected behavior
GCP storage backend should allow login by unregistered users.
Environment:
I've reproduced the bug with following servers/clients:
The text was updated successfully, but these errors were encountered: