0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

New Relic メモ 〜Single Sign On設定(Auth0)〜

Last updated at Posted at 2020-08-24

やりたいこと

  • New RelicにSAML IdP(Auth0)からSSOしたい

事前準備

New RelicのAccount Idをコピーしておく

  1. New RelicのAccount Settingsにアクセスする
  2. URLがhttps://rpm.newrelic.com/accounts/nnnnnnnの形式となっているので、nnnnnnnをコピーする

Auth0のアカウントを作っておく

(割愛)

設定開始

New RelicのSSO IntegrationsからNew Relicの設定ウィザードを開始する

911CE9DE-946F-4E54-98D6-5C7771149A2C.png

事前準備でコピーしたAccount IdNew Relic Account Numberに入力して、SAVEを押す

2B6EE730-B70C-4DED-8596-20310D5470FE.jpeg

画面下部の証明書のダウンロードリンクから、CERファイルをダウンロードする。
また、同画面の下部に記載のRemote Login URLLogout landing URLをコピーする

6AA7D0C9-2B51-4DAB-BDD4-193DF1A5B9B6.jpeg

New Relic側のAccount Settings > SECURITY AND AUTHENTICATION > Single Sign-Onから、CERファイルをアップロード、Remote Login URLLogout landing URLを入力し、Save my changesを押す

04E1E968-DB33-47F9-8CC7-39C43D33EF95.jpeg

接続テスト開始用のリンクが案内されるのでクリックする。

A7D11BBC-2FCD-44E0-BA80-10474E88C036.jpeg

Auth0のログイン画面が表示されるので、ログインする
ここでのログインはログイン用メールアドレスがNew Relic側のものと一致している必要がある

5F5AB478-6742-4A86-9261-FE39E775E57E.jpeg

接続テストがsuccessfulであることが確認されたので、**Enable SAML Login+**をクリックし、有効化する

652CB720-280E-4255-A8B3-D76636403BE5.jpeg

できた。

05452007-8EED-4ED9-9816-A6A01195564C.jpeg

SAMLのmetadataについて

New Relic側の設定画面に以下が表示されている。

DC437A57-738E-4A96-8723-60A520E79B19.jpeg

この後、調査するが属性のバインディングはemailAddressでしかできなさそうに見える。故に、予めバインディング用のユーザをNew Relic側で作成し、権限等のコントロールを済ませた上で、SSOを提供する流れとなりそう。

おわり。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?