Azure Active Directory B2C

Azure AD  アカウントの作成

azure.microsoft.com

 

 

Azure ポータルへログイン

portal.azure.com

 

MSは、チュートリアルが充実してますので、

それに沿って、、、

 

 

チュートリアル - Azure Active Directory B2C テナントを作成する | Microsoft Docs

簡単なサンプルのWeb1、jwt.msなどでテストする

Webアプリケーションの登録

チュートリアル:アプリケーションを登録する - Azure AD B2C | Microsoft Docs

Facebook をIDプロバイダーとして追加

チュートリアル - ユーザー フローとカスタム ポリシーを作成する - Azure Active Directory B2C | Microsoft Docs

 

 

カスタムポリシーの設定

 デフォルトのポリシー名を変更するとRedirectも変更する

blog.haniyama.com

Azure B2C の FIDO2 サンプルを動かす - enjoy struggling

 

汎用OpenID

OpenID Connect でのサインアップおよびサインインを設定する - Azure AD B2C | Microsoft Docs

 

ユーザーの追加または削除 - Azure Active Directory | Microsoft Docs

 

テナント作成方法:

【Azure AD B2C】Azure AD B2C テナントの作成をしてみる - Qiita

 

エラー対応参考情報:

【Azure AD B2C】新規テナント作成時のエラー対応メモ | neputa note

 

 

Azure AD レガシー認証の見つけ方・やめ方(2) | 国井 傑のブログ

AWS Cognito

 

 

www.tdi.co.jp

  // ユーザープールの設定
  const poolData = {
    UserPoolId: "us-east-1_xxxxxxxx",
    ClientId: "xxxxxxxxxxxxxxxxxxxxxxxxx"
  };
  const userPool = new AmazonCognitoIdentity.CognitoUserPool(poolData);

  // Amazon Cognito 認証情報プロバイダーを初期化します
  AWS.config.region = "us-east-1"; // リージョン
  AWS.config.credentials = new AWS.CognitoIdentityCredentials({
    IdentityPoolId: "us-east-1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  });

 

Amazon Cognitoを使ったサインイン画面をつくってみる~アクティベーション&サインイン編~ | MISO

 

-AWS向けjsのディレクトリ構成を変更する

-

AWS Cognito User Pools のサインアップ時に NotAuthorizedException が出る (JavaScript)

AWS Cognito User Pools のサインアップ時に NotAuthorizedException が出る (JavaScript) - Qiita

JavaScriptで実装する場合、secret key を使わない設定にする必要があったみたいです。

 

 

jQuery - versionが新しくなっている場合、JSなどのversionを変更する

jquery.com

jQueryの動作確認

jQueryのダウンロードから使い方まで | サービス | プロエンジニア

 

 

こちらも同様のSample

こちらのほうが簡単かもしれないですね

qiita.com

javascriptでCognitoユーザプール認証 - Qiita

 

 

 

やっとフロントのモバイルアプリがリリースです

ドコモ口座問題などなど、アカウントのセキュリティ強化も必要となり、

 

 

www.sbigroup.co.jp

 

 

金融機関向け認証認可基盤サービスTrustIdiomの提供開始について

https://sbidigitrust.com/wp-content/uploads/2021/06/202106221000_TrustIdiom_Release.pdf

 

 

島根銀行

しまぎんアプリの機能追加について残高照会及び入出金明細確認機能を追加し、リニューアルしました~

https://www.shimagin.co.jp/wp-pe3atrj7db2s/wp-content/uploads/2021/06/nr20210622.pdf

 

f:id:monster750jp:20210624085801p:plain

 

 

 

 

 

API G/W

f:id:monster750jp:20210624085820p:plain

jpn.nec.com

 

 

 

 

Install OpenLegacy CLI

 

 

Install OpenLegacy CLI

hub-support.openlegacy.com

 

--

PS C:\WINDOWS\system32> java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> choco source add --source=https://openlegacy.jfrog.io/artifactory/api/nuget/nuget-chocolatey --name=openlegacy
Chocolatey v0.10.15
Added openlegacy - https://openlegacy.jfrog.io/artifactory/api/nuget/nuget-chocolatey (Priority 0)
PS C:\WINDOWS\system32> choco install openlegacy-cli
Chocolatey v0.10.15
Installing the following packages:
openlegacy-cli
By installing you accept licenses for the packages.
Progress: Downloading openlegacy-cli 1.21.1... 100%

openlegacy-cli v1.21.1
openlegacy-cli package files install completed. Performing other installation steps.
The package openlegacy-cli wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Downloading openlegacy-cli
from 'https://ol-public-artifacts.s3.amazonaws.com/openlegacy-cli/1.21.1/windows/openlegacy-cli.zip'
Progress: 100% - Completed download of C:\Users\Yasu\AppData\Local\Temp\chocolatey\openlegacy-cli\1.21.1\openlegacy-cli.zip (113.27 MB).
Download of openlegacy-cli.zip (113.27 MB) completed.
Hashes match.
Extracting C:\Users\Yasu\AppData\Local\Temp\chocolatey\openlegacy-cli\1.21.1\openlegacy-cli.zip to C:\ProgramData\chocolatey\lib\openlegacy-cli\tools...
C:\ProgramData\chocolatey\lib\openlegacy-cli\tools
PATH environment variable does not have C:\ProgramData\chocolatey\lib\openlegacy-cli\tools/ol/bin in it. Adding...
*********************************************************************************************
Note that the CLI require java 11, please make sure its installed and JAVA_HOME is configured
*********************************************************************************************
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of openlegacy-cli was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\openlegacy-cli\tools'

Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\WINDOWS\system32>

 

 

PS C:\WINDOWS\system32> refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..

 

 

PS C:\WINDOWS\system32> C:\ProgramData\chocolatey\lib\openlegacy-cli\tools\ol\bin\ol --version

OL-HUB CLI version 1.21.1
OL Hub Repository version 1.21.1
OL Hub Core version 4.6.48
PS C:\WINDOWS\system32>