Skip to main content

エンドポイント一覧

GET /.well-known/openid-configuration

OpenID Connect Discovery 仕様に準拠した認可サーバーのメタデータを返します。 OAuthクライアントはこのエンドポイントから認可サーバーの設定情報を自動的に取得できます。 Response
{
  "issuer": "https://api.karasu256.com",
  "authorization_endpoint": "https://api.karasu256.com/oauth/authorize",
  "token_endpoint": "https://api.karasu256.com/oauth/token",
  "userinfo_endpoint": "https://api.karasu256.com/oauth/userinfo",
  "jwks_uri": "https://api.karasu256.com/oauth/jwks.json",
  "scopes_supported": [
    "openid",
    "profile",
    "email"
  ],
  "response_types_supported": [
    "code"
  ],
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "grant_types_supported": [
    "authorization_code",
    "refresh_token"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ]
}
フィールド説明
  • issuer: 認可サーバーの識別子
  • authorization_endpoint: OAuth 2.0認可エンドポイント
  • token_endpoint: OAuth 2.0トークンエンドポイント
  • userinfo_endpoint: OpenID Connect UserInfoエンドポイント
  • jwks_uri: JWT署名検証用の公開鍵セット
  • scopes_supported: サポートされているスコープ
  • response_types_supported: サポートされているレスポンスタイプ
  • token_endpoint_auth_methods_supported: トークンエンドポイントでの認証方法
  • grant_types_supported: サポートされているグラントタイプ
  • code_challenge_methods_supported: PKCEでサポートされているチャレンジメソッド
このエンドポイントは、OpenID Connect Discovery 1.0仕様に準拠しており、 標準的なOAuthクライアントライブラリで自動設定に使用できます。