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 have created an app in the Saleor dashboard and I'd like to implement it in Typescript using the @saleor/sdk. How can I set it up to use the auth token? I know on a deeper level I just have to convince the client to set an http header Authorization: JWT … but I have no clue how to do that using your provided SDK.
Any help is very appreciated!
PS: Note that this is an app without a GUI. It is meant to react to incoming events on Webhooks and manage Saleor accordingly via its API.
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
-
I have created an app in the Saleor dashboard and I'd like to implement it in Typescript using the
@saleor/sdk
. How can I set it up to use the auth token? I know on a deeper level I just have to convince the client to set an http headerAuthorization: JWT …
but I have no clue how to do that using your provided SDK.Any help is very appreciated!
PS: Note that this is an app without a GUI. It is meant to react to incoming events on Webhooks and manage Saleor accordingly via its API.
Beta Was this translation helpful? Give feedback.
All reactions