Skip to content

Conversation

@nagarjun063
Copy link

Enabling an option to share securely using authentication via JWT

  1. jwt endpoint created at generate_embed_link , can access using the following payload:
    payload = {
    "resource" : "your_site/insights/secure/dashboard/dashboard_name", // Generated by system
    "params": { "column_name": 'value' }, // Filters
    "user" : "session_user", // User to be part of system, else jwt token will not be generated
    "exp": round(time.time()) + (60 * (int(10))) // Token valid for 10 Mins
    }

  2. added options to share either as public or securely as private, also validations for the same

  3. insights/secure/dashboard view to support the authenticated link

  4. added a field secret_key in Insights Settings for the authentication process

Screenshot 2025-01-09 at 6 24 43 PM

@fenilgmehta
Copy link

fenilgmehta commented Aug 3, 2025

Hi, why was this closed? It's a useful feature:

  1. being able to pass column filters by the embedder
  2. more secure as compared to origin whitelist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants