OIDC: invalid_request — unsupported response_mode (form_post / fragment)

The authorisation server does not support the requested response mode for this client or flow.

Exact message you may see unsupported response_moderesponse_mode form_post not supportedinvalid response_mode
Seen on: OIDC

Meaning

response_mode decides how the result returns: query, fragment or form_post. Providers restrict it by flow: hybrid and implicit flows use fragment or form_post but not query.

Common causes

  • query requested with an implicit or hybrid response type
  • Provider lacks form_post support
  • Typo in the value
  • Client type (SPA) not allowed that mode

⚡ Quick fix

  1. Use the default mode for the flow
  2. Switch to the authorization code flow with PKCE
  3. Check response_modes_supported in discovery

Detailed fix by platform

Discovery

  1. curl $ISSUER/.well-known/openid-configuration | jq .response_modes_supported

How to diagnose

  1. Mode — Requested value?
  2. Flow — response_type?
  3. Supported — In discovery?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.