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

Add hook for providing project id in the header of every request #29

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

rgrinberg
Copy link
Collaborator

The project id can now be added by initing the client module with an appropriate
provider that fetches the current project id. For example, from the client state.

The project id can now be added by initing the client module with an appropriate
provider that fetches the current project id. For example, from the client state.
@rgrinberg
Copy link
Collaborator Author

@AnthonyMl @bdionne

OK I almost made this prototype work. I'm not really convinced this is the right idea though so I really would like to talk about this before proceeding further.

The only thing that remains here is stripping off the project Id's before passing them to protege but all this really shows how fragile this entire approach is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant