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

Apollo Router Upgrade the Rhai Scripts #1

Open
elritz opened this issue Nov 27, 2022 · 0 comments
Open

Apollo Router Upgrade the Rhai Scripts #1

elritz opened this issue Nov 27, 2022 · 0 comments
Assignees

Comments

@elritz
Copy link
Owner

elritz commented Nov 27, 2022

The router isnt able to send back the Authorization header, the router does a complex map merge of the subgraphs headers.response that then sends that back to the client.

This just means that the client wasn’t receiving headers to which it needed to saved to the secure local storage

Looking through the documentation, apollo provides a Rhai scripting that allows a tap into the build service arguments where you key collect the headers you which to insert back to the client

@elritz elritz self-assigned this Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Tier 0
Development

No branches or pull requests

1 participant