0
0

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.

OAuth 2.1 備忘録

Last updated at Posted at 2021-09-04
  • 標準化に向けて進んでいるOAuth2.1についてメモする。

OAuth 2.0

  • サードパーティアプリからHTTPサービスへのアクセスを可能にするための認可フレームワーク。

    • 主にRFC 6749 OAuth Core (認可方式)と RFC 6750 Bearer Tokens(トークン利用方式)で構成される。
  • 当初定義されていたものから、以下のような改善が加えられてきた。

    • Proof Key Code Exchange(PKCE)の導入
    • Implicit Grant の非推奨化
    • Resource Owner Password Credentials Grant(ROPCG) の非推奨化
    • Tokenのクエリ指定禁止
    • Device Grantの追加

    ...

OAuth2.png

OAuth 2.1とは

  • 改善が加えられてきたOAuth2.0の整理を目標に標準化が進められている仕様。

  • 特徴

    • 認可方式:次を基本とする。
      * Authorization Code Grant + PKCE
      * Client Credentials Grant
      * Device Grant
    • トークン指定方式:次を基本とする。
      * HTTP Header
      * POST Form Body
      * ※クエリ指定禁止

OAuth21.png

OAuth 2.0との違い

参考情報

0
0
1

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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?