-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:authenticationRelated to user authenticationRelated to user authenticationtype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
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
github-actions
Metadata
Metadata
Assignees
Labels
feature:authenticationRelated to user authenticationRelated to user authenticationtype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features