You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sources:
- name: MyGraphQLApi
handler:
graphql:
endpoint: http://my-service-url:3000/graphql
operationHeaders:
# Please do not use capital letters while getting the headers
Authorization: Bearer {context.accessToken}
# You can also access to the cookies like below;
# Authorization: Bearer {context.cookies.myApiToken}
The text was updated successfully, but these errors were encountered:
For the front-end, the access token may be stored anywhere. Maybe localStorage, cookies, indexedDB.
So we might be able to provide a similar API
The text was updated successfully, but these errors were encountered: