hashicorp / hashicorp/vault-plugin-auth-jwt

permission denied error

Open
#286 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
107
Forks
73
Avg merge
13h 49m
Merged PRs (30d)
7

Description

Hi,

I was trying to set up jwt verification using jwks method with OAuth 2.0 server as the authentication server.
So the frontend app receives a jwt token from the Oauth server and then it using this jwt token to get verified by vault (with vault setup using jwks method)
It seems to work as I can use the jwt token to login. However, I am not able to query the actual key value pair inside the vault as it throws the "permission denied" error.

Here is my policy setup:
vault policy read mysecret-testing
# Policy name: mysecret-testing
#
path "secret/test/*" {
capabilities = [ "read", "update", "patch", "delete", "list", "create" ]
}

Here is my role setup:
vault write auth/jwt/role/demo - <

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.