I try to integrate Che-ide to indentity server.
Che use following script
It generate following url for login
Identity server show an error that is "Invalid response_mode for flow"
You can see that response type is "code" and response mode "fragment".
Openid spec indicate
"For purposes of this specification, the default Response Mode for the OAuth 2.0 code Response Type is the query encoding"
https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes
Openid spec is not forbidden other response mode such as "fragment"
But Identity server doesn't allow this configuration.
But Identity server doesn't allow this configuration.
We don't because normally code flow is for server-side apps, and fragment is for JS-based browser apps.
We don't because normally code flow is for server-side apps, and fragment is for JS-based browser apps.
But code flow isn't just for server-side apps. It's also used in native apps, and can be used in browser-based apps (it's even recommended now, according to your blog article). And as far as I can tell, there's nothing to prevent native apps from receiving the response as fragment (which is supposed to be more secure) rather than query. So wouldn't it make sense to allow this combination?
BTW, the error in this scenario is a bit strange: the error is unsupported_response_type, but the error description is Invalid response_mode. Is that intentional?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
But code flow isn't just for server-side apps. It's also used in native apps, and can be used in browser-based apps (it's even recommended now, according to your blog article). And as far as I can tell, there's nothing to prevent native apps from receiving the response as fragment (which is supposed to be more secure) rather than query. So wouldn't it make sense to allow this combination?
BTW, the error in this scenario is a bit strange: the
errorisunsupported_response_type, but the error description isInvalid response_mode. Is that intentional?