-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "Cannot read properties of null" when trying to login in the widget #1285
Comments
Update: In Firefox I'm getting the same behavior, but a different error: |
The widget is currently not prepared for use in browser extensions. See #1205 for a detailed explanation. I would recommend to forgo the widget, and implement the RS connect UI yourself. Have a look at the widget source code to see how this can be done. It's actually quite simple. (The widget only uses public APIs of Feel free to ask any questions on the way, if you try this route. Maybe we can turn it into a documentation page for this topic. |
When running in a chrome browser extension, in the options page, I can get the widget to load and run, but when trying to connect, I get this error:
TypeError: Cannot read properties of null (reading '0') at R.authorize
I would debug it further but I'm not sure where to start.
This is the code I'm using to load the widget:
And this is how it looks: (stuck loading + error)
The text was updated successfully, but these errors were encountered: