Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

認証フローの説明を修正 #1104

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions documents/includes/abbreviations.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*[O/R]: Object / Relational
*[OS]: Operating System
*[OSS]: Open Source Software
*[PKCE]: Proof Key for Code Exchange
*[RAM]: Random Access Memory:「メモリ」とも表現される。
*[SPA]: Single Page Application:単一ページアプリケーション。 CSR の実装方式。
*[SSR]: Server Side Rendering
Expand Down
8 changes: 5 additions & 3 deletions samples/azure-ad-b2c-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@ auth-frontend

## サンプルで実現している認証フロー

本サンプルでは、 Microsoft 認証ライブラリ( MSAL )の使用によって、 [OAuth 2.0 承認コードフロー](https://learn.microsoft.com/ja-jp/azure/active-directory-b2c/authorization-code-flow) を実現しています。
なお、以下の処理は [MSAL.js](https://www.npmjs.com/package/@azure/msal-browser) (JavaScript 用 Microsoft Authentication Library) によって行われます。
本サンプルでは、 Microsoft 認証ライブラリ( MSAL )の使用によって、 [OAuth 2.0 承認コードフロー with PKCE](https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-pkce) を実現しています。

- state のリクエストへの設定、およびレスポンスの設定値の検証
なお、以下の処理はフロントエンドの [MSAL.js](https://www.npmjs.com/package/@azure/msal-browser) (JavaScript 用 Microsoft Authentication Library) によって行われます。

- code_verifier の生成・送信
- code_challenge の生成・送信

## 前提となる OSS ライブラリ

Expand Down