Bypassing the login for Supreset iframe in Webpage

See original GitHub issue

I am using Superset version 0.15.1. I create a slice and use its iframe to embed into my webpage. When I do so, it directs me to superset login on the webpage.

Is there some way I can bypass the login or may be pass the credentials through iFrame in advance ?

I have tried removing the slice owner name, but that doesn’t quite work.

My Iframe is as follows :

      <iframe
        src="http://ServerIP:PortNo/superset/explore/table/8/?goto_dash=false&bottom_margin=auto&force=false&new_dashboard_name=&slice_name=User+Registration&y_axis_zero=false&y_axis_label=Users+Registered&resample_fillmethod=&save_to_dashboard_id=&line_interpolation=linear&add_to_dash=false&reduce_x_ticks=false&rolling_periods=&show_controls=false&granularity_sqla=registration_date&x_axis_label=&rolling_type=None&datasource_type=table&new_slice_name=&flt_op_0=in&viz_type=bar&since=100+years+ago&y_log_scale=false&time_compare=&rdo_save=overwrite&until=now&collapsed_fieldsets=&show_bar_value=false&resample_rule=&datasource_id=8&period_ratio_type=growth&show_brush=false&y_axis_format=.3s&x_axis_showminmax=y&x_axis_showminmax=false&metrics=sum__count&show_legend=false&flt_eq_0=&flt_col_0=&timeseries_limit_metric=&resample_how=&standalone=true&where=&num_period_compare=&userid=1&previous_viz_type=bar&groupby=count&rich_tooltip=y&rich_tooltip=false&limit=50&x_axis_format=smart_date&datasource_name=User+Registration&contribution=false&time_grain_sqla=Time+Column&having=&bar_stacked=false"
        width="600"
        height="400"
        seamless frameBorder="0" scrolling="no">
      </iframe>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
deadlockscommented, Feb 10, 2018

@songyanho This feature will be awesome once released. Any updates on this? I can also jump in and help if you have started working on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bypassing the login for Supreset using iframe #4393 - GitHub
I am using Superset version 0.22.1. I create a slice and use its iframe to embed into my webpage. When I do so,...
Read more >
How can I embed Superset Apache charts in my application ...
When recieving data of a web app's user that isn't registered in Superset, we simply create the user for them with the info...
Read more >
Bypassing the login for Supreset iframe in Webpage
I am using Superset version 0.15.1. I create a slice and use its iframe to embed into my webpage. When I do so,...
Read more >
Security - Apache Superset
Security in Superset is handled by Flask AppBuilder (FAB), an application development ... with each role (e.g. by removing or adding permissions to...
Read more >
Apache Superset —Thoughts on custom authentication ...
If we pass username param in request it will bypass the login and take the user inside. We need to make the authentication...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found