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
The Buffer.from method is used in utils to decode the token. Buffer isn't available outside of node environments (e.g. within the browser) and is causing runtime errors (ReferenceError: Buffer is not defined).
The
Buffer.from
method is used in utils to decode the token.Buffer
isn't available outside of node environments (e.g. within the browser) and is causing runtime errors (ReferenceError: Buffer is not defined).auth-sdk/src/utils.ts
Line 19 in 6dd0cb3
For reference, I'm using the
obtainAccessToken
on theSaleorExternalAuth
class which is in turn calling this util method. I'm trying to implement an external OIDC flow using Apollo - which isn't in the docs and have been loosely following this:https://github.com/saleor/auth-sdk?tab=readme-ov-file#nextjs-pages-router-with-openid-connect
The text was updated successfully, but these errors were encountered: