Skip to content

*: Add use Auth0 as example to login dashboard by sso#7093

Merged
ti-chi-bot merged 5 commits into
masterfrom
update-dashboard-sso
Sep 15, 2021
Merged

*: Add use Auth0 as example to login dashboard by sso#7093
ti-chi-bot merged 5 commits into
masterfrom
update-dashboard-sso

Conversation

@baurine
Copy link
Copy Markdown
Contributor

@baurine baurine commented Sep 9, 2021

What is changed, added or deleted? (Required)

Add use Auth0 as a new example to login TiDB Dashboard by SSO.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot
Copy link
Copy Markdown
Member

ti-chi-bot commented Sep 9, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • TomShawn
  • breeswish

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot requested a review from TomShawn September 9, 2021 06:51
@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 9, 2021
@baurine baurine force-pushed the update-dashboard-sso branch from 3f46c4b to 319ca1d Compare September 9, 2021 06:54
@TomShawn TomShawn requested a review from breezewish September 9, 2021 07:17
@TomShawn TomShawn added translation/doing This PR’s assignee is translating this PR. needs-cherry-pick-release-4.0 sig/docs Indicates that the Issue or PR belongs to the docs SIG. and removed missing-translation-status This PR does not have translation status info. labels Sep 9, 2021
Copy link
Copy Markdown
Member

@breezewish breezewish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks great! This is a good supplyment!

Comment thread dashboard/dashboard-session-sso.md Outdated
Comment thread dashboard/dashboard-session-sso.md Outdated

### 步骤二:获取 TiDB Dashboard 所需的配置参数并填入 TiDB Dashboard

1. 将 Auth0 **Settings** 栏 **Basic Information** 项的 **Client ID** 字段的值填入 TiDB Dashboard 的 **OIDC Client ID**,将 **Domain** 字段的值,加上 `https://` 前缀和 `/` 后缀后填入 **OIDC Discovery URL** 中。完成授权并保存配置即可。
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the / suffix is optional. I'm not sure. You may have a try :)

Copy link
Copy Markdown
Contributor Author

@baurine baurine Sep 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried, miss the / will report an error, maybe we can add it automatically? but maybe okta doesn't need to end with /, let me check.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, auth0 needs but okta doesn't need.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a wired behaviour. Maybe we should revisit the implementation.

Copy link
Copy Markdown
Contributor Author

@baurine baurine Sep 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, let me check.

Comment thread dashboard/dashboard-session-sso.md Outdated
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 15, 2021

CLA assistant check
All committers have signed the CLA.

Change the link for Auth0 from www.okta.com to auth0.com.
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 15, 2021
Copy link
Copy Markdown
Contributor

@TomShawn TomShawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 15, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 2b829ad

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 15, 2021
@ti-chi-bot ti-chi-bot merged commit bb66e22 into master Sep 15, 2021
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created: #7130.

ti-chi-bot pushed a commit to ti-chi-bot/docs-cn that referenced this pull request Sep 15, 2021
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created: #7131.

@baurine baurine deleted the update-dashboard-sso branch September 15, 2021 06:17
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created: #7132.

@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created: #7133.

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

Labels

sig/docs Indicates that the Issue or PR belongs to the docs SIG. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants