-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
How to setup Superset and setup embeded charts #13697
Comments
Hi @Riskatri , did you change the |
@zhaoyongjie this issue has been solve. thankyou. but did you know about embed superset with iframe? i am trying to embed but i have an error like this i follow to change the config like this #8830 . but didn't work for me. |
@Riskatri Lines 168 to 174 in 375ded9
|
@zhaoyongjie i've tried it, but when I logged in to the page there was no response and went back to login I inspect console , and find this |
I had the same problem when embedding the superset dashboard (using iframe) in my web, I have tried many ways but with no luck hix |
@anphamvn follow the step here :
|
Thanks @Riskatri
4 I try to set WTF_CSRF_ENABLED = False and when I logged in to the page there was no response and went back to login |
@anphamvn
_. |
So I am using docker and I added the following to my config: WTF_CSRF_ENABLED = False This gets me past the login screen CSRF issues above and I can see that the api requests for charts, datasets and dashboard succeed. However I'm getting a javascript error in the iframe. @Riskatri did you run into this? 29db33713260b5a6d757.chunk.js:2 TypeError: Cannot convert undefined or null to object |
Hi, @albertwgchu @Riskatri
|
Hi, @albertwgchu @Riskatri @anilvpatel21 I am getting the similar issue as you all mentioned. Below are my Superset setup details: I can see a warning message in the logs as below: Can anyone please help. Thanks in advance! |
It's might be a problem with Flask Appbuilder recently upgraded in superset 1.2 For a while use superset 1.1, with your config. It will works out. |
I had a same error and @anilvpatel21 's solution did not work, but solved as follows
|
Related: #8382 |
How to remove redis cache? I have experiencing same problem.. @Xx0w0wxX |
@handita In my case, remove the mounted volume |
I am also getting same error on google chrome while iframe superset url |
thanks a lot.it solved my problem |
I had the same issue, I followed the docker-compose install guide. |
Please update your superset.
…On Mon, 16 Jan 2023, 16:24 mcgorias, ***@***.***> wrote:
Hi, @albertwgchu <https://github.com/albertwgchu> @Riskatri
<https://github.com/Riskatri> @anilvpatel21
<https://github.com/anilvpatel21>
I am getting the similar issue as you all mentioned.
Below are my Superset setup details: Configured LDAP Authentication in
superset. Enabled a Custom Security Manager to authenticate based on a
jwt-token. The jwt-token based authentication is working as expected and we
are able to redirect to the dashboards without the login page The same is
not working when passed in an iframe.
[image: MicrosoftTeams-image]
<https://user-images.githubusercontent.com/87519153/125913801-8201011c-928b-4b43-b159-646d1f81875f.png>
I can see a warning message in the logs as below: WARNING:root:Class
'werkzeug.local.LocalProxy' is not mapped
Can anyone please help. Thanks in advance!
I had the same issue,
According to the "Manage access to Dashboards part"
<https://superset.apache.org/docs/creating-charts-dashboards/creating-your-first-dashboard/#manage-access-to-dashboards>
of the documentation, you should [enable DASHBOARD_RBAC feature flag] (
https://superset.apache.org/docs/installation/configuring-superset/#feature-flags
)
I followed the docker-compose install guide, so I had to edit
./docker/pythonpath_dev/superset_config.py and add
—
Reply to this email directly, view it on GitHub
<#13697 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANMNNZXHPKMQNHFAWCQYUT3WSUSIDANCNFSM4ZN64SMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
same here, resolved? i'm using ec2 aws |
resolved? |
Hi iam using superset version 1.0.0 but when i am trying to run with superset run -p 8088 --with-threads --reload --debugger i have an error
can someone help me?
The text was updated successfully, but these errors were encountered: