Skip to content

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

Open
rgrinberg wants to merge 13 commits intomasterfrom
interceptor-project-id
Open

Add hook for providing project id in the header of every request#29
rgrinberg wants to merge 13 commits intomasterfrom
interceptor-project-id

Conversation

@rgrinberg
Copy link
Copy Markdown
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 rgrinberg force-pushed the interceptor-project-id branch from 67d6ecc to ad6ad71 Compare July 24, 2017 08:41
@rgrinberg rgrinberg force-pushed the interceptor-project-id branch from a0139ce to 727e0b0 Compare July 24, 2017 09:04
@rgrinberg
Copy link
Copy Markdown
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