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

Embed project name inside token #868

Open
himank opened this issue Feb 23, 2023 · 0 comments
Open

Embed project name inside token #868

himank opened this issue Feb 23, 2023 · 0 comments
Assignees
Labels
auth bug Something isn't working

Comments

@himank
Copy link
Collaborator

himank commented Feb 23, 2023

The secrets are attached to a single project, but the token has no information about the project, which means it can be used for a different project as long as it is valid.

Embedding project information in the token will avoid it then, if the token already has a project attached to it then reject the request of performing any operation on another project like creating a project.

@himank himank added auth bug Something isn't working labels Feb 23, 2023
@himank himank added this to Tigris Feb 23, 2023
@ovaistariq ovaistariq moved this to 🆕 New in Tigris Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants