Parts of this page are still in Japanese (English translation pending).

OAuth 2.0 / OpenID Connect

Authorization endpoint

GEThttps://auth.agribus-connect.net/v1/oauth/authorize

OAuth 2.0 認可コードフロー (OpenID Connect 認証リクエスト) の入口。ブラウザでユーザーを誘導する。
未ログインならログイン画面へ、ログイン済みなら同意後に redirect_uri へ code と state を付けてリダイレクトする。
response_type は code のみ対応。PKCE (code_challenge / code_challenge_method=S256) を推奨。

Authentication

None

Parameters

NameInTypeDescription
response_type *querystring
code
Must be code
client_id *querystringIssued client ID
redirect_uriquerystring (uri)Registered redirect URI
scopequerystringSpace-separated scopes (e.g. openid noki.devices.read noki.locations.read)
statequerystringArbitrary string for CSRF protection. Returned unchanged
noncequerystringFor the ID token (OpenID Connect)
code_challengequerystringPKCE
code_challenge_methodquerystring
S256plain
PKCE

curl example

curl -X GET 'https://auth.agribus-connect.net/v1/oauth/authorize?response_type=<response_type>&client_id=<client_id>'

Responses

302 — Redirect to the login screen or to `redirect_uri?code=...&state=...`

Generated from the production OpenAPI documents as of 2026-10-27