Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multiple dashboards open locally with same oauth configuration #12249

@velochy

Description

@velochy

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

We are developing multiple dashboards that all rely on the same oauth login system.

It would be very convenient if we could have more than one open at the same time with OIDC working.

Why?

The problem is that currently, redirect_uri has to be hard coded (http://localhost:8501/oauth2callback) and that fixes one port, so if second dashboard runs at 8502, it no longer works.

How?

A very easy and relatively harmless fix would be to have redirect_uri default to http://localhost:[port]/oauth2Callback if it is not provided. It should not affect any existing users (as currently redirect_uri is required for oauth to work), but would make local usage much more convenient

Additional Context

Already working on a PR for this. By the looks of it, seems very straightforward

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:authenticationRelated to user authenticationtype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions