Closed baurine closed 11 months ago
Name | Link |
---|---|
Latest commit | 54ee127ba615f739f563b85eaed7ff75c0182cb4 |
Latest deploy log | https://app.netlify.com/sites/tidb-dashboard/deploys/6526446cc1bc190008dc553e |
Deploy Preview | https://deploy-preview-1599--tidb-dashboard.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Merging #1599 (54ee127) into master (38109d4) will increase coverage by
0.00%
. Report is 1 commits behind head on master. The diff coverage is28.57%
.
@mornyx: adding LGTM is restricted to approvers and reviewers in OWNERS files.
Timeline:
2023-10-11 14:09:32.501785947 +0000 UTC m=+1234170.088896093
: :ballot_box_with_check: agreed by shhdgit.[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mornyx, shhdgit
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related PR: https://github.com/pingcap/tidb-dashboard/pull/1567, it adds support for "Client Secret Post" authentication method. (When you create a
regular web app
in auth0 console, it uses the "Client Secret Post" authentication method).This PR handle the compatibility with old version, and hide the client secret for security.
Test
Login Auth0 by google account
Create a "Regular Web App" and "Single Web App" applications in the Auth0
Set the
Allowed Callback URLs
andAllowed Logout URLs
for the above applications, following the steps in the https://docs.pingcap.com/tidb/stable/dashboard-session-sso#example-2-use-auth0-for-tidb-dashboard-sso-sign-inIn tidb-dashboard, go to sso configuration page, fill the
OIDC Client ID
. If theClient ID
comes from auth0 single web app, we don't need to fillOIDC Client Secret
. If theClient ID
comes from auth0 regular web app, we need to fill theOIDC Client Secret
as well.Logout and Login via SSO.
Demo
https://github.com/pingcap/tidb-dashboard/assets/1284531/cd6a658e-8c53-466c-98fc-d3cb448e63d1