Skip to content

Missing grant_type when refreshing the eclipse access token #1387

@netomi

Description

@netomi

The logs show exceptions like these:

org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request on POST request for "https://auth.eclipse.org/auth/realms/community/protocol/openid-connect/token": "{"error":"invalid_request","error_description":"Missing form parameter: grant_type"}"

Recently the Eclipse oauth provider was switched from drupal to keycloak, which only supports POST data encoded in application/x-www-form-urlencoded instead of application/json as drupal did.

See also:

https://stackoverflow.com/questions/53795179/keycloak-missing-form-parameter-grant-type

Metadata

Metadata

Assignees

Labels

authenticationUser authentication, tokens, and identity workflowsbugSomething is not working correctlypriority:mediumImportant work, but not time-sensitiveserver(Component: server) Backend platform and service-side functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions