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
A clear and concise description of what the bug is.
Followed along with example deployment. Successfully passing in the first token.
Afterwards it attempts to do getGuestTokenRefreshTiming and fails as Buffer.from is not found
How to reproduce the bug
Follow along with example
Navigate to the webpage
Expected results
Function runs without issue
Actual results
guestTokenRefresh.js:41 Uncaught (in promise) ReferenceError: Buffer is not defined. at getGuestTokenRefreshTiming (guestTokenRefresh.js:41:1) at _callee3$ (index.js:137:1) at tryCatch (runtime.js:63:1) at Generator.invoke [as _invoke] (runtime.js:293:1) at Generator.next (runtime.js:118:1) at asyncGeneratorStep (asyncToGenerator.js:3:1) at _next (asyncToGenerator.js:25:1)
Environment
browser type and version: chrome 105.0.5195.102
superset version: 2.0.0
node.js version: v16.17.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Adding a buffer replacement to guestTokenRefresh.js like npmjs.com/package/buffer removes the error
The text was updated successfully, but these errors were encountered:
A clear and concise description of what the bug is.
Followed along with example deployment. Successfully passing in the first token.
Afterwards it attempts to do getGuestTokenRefreshTiming and fails as Buffer.from is not found
How to reproduce the bug
Expected results
Function runs without issue
Actual results
guestTokenRefresh.js:41 Uncaught (in promise) ReferenceError: Buffer is not defined. at getGuestTokenRefreshTiming (guestTokenRefresh.js:41:1) at _callee3$ (index.js:137:1) at tryCatch (runtime.js:63:1) at Generator.invoke [as _invoke] (runtime.js:293:1) at Generator.next (runtime.js:118:1) at asyncGeneratorStep (asyncToGenerator.js:3:1) at _next (asyncToGenerator.js:25:1)
Environment
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Adding a buffer replacement to guestTokenRefresh.js like npmjs.com/package/buffer removes the error
The text was updated successfully, but these errors were encountered: