是否支持keycloak"grant_type":"urn: ietf:参数:oauth: grant-type: jwt-bearer"?
在我的测试中,我收到status: 400和msg{'error': 'unsupported_grant_type', 'error_description': '不支持的grant_type'}。同样在文档中,我也找不到任何关于这类授权类型的信息。
感谢看起来这就是你要找的- https://www.keycloak.org/docs/latest/securing_apps/#client-authentication-with-signed-jwt
我自己还没有试过,但根据规范,"grant_type"
必须是"authorization_code"
,但"client_assertion_type"
是"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
。