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
I'm working on stitching together a Remote Schema which will require knowing which users auth. The docs note that Hasura will do its own auth and pass along the auth headers (x-hasura-user-id, x-hasura-role, etc) to my RS backend.
But if my RS backend is publicly accessible, how am I supposed to trust those headers? What's the recommended design pattern here?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on stitching together a Remote Schema which will require knowing which users auth. The docs note that Hasura will do its own auth and pass along the auth headers (
x-hasura-user-id
,x-hasura-role
, etc) to my RS backend.But if my RS backend is publicly accessible, how am I supposed to trust those headers? What's the recommended design pattern here?
Beta Was this translation helpful? Give feedback.
All reactions