Skip to content
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

Private sharing Support #428

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

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

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.

1 participant