Skip to content

Support updated Sagan API for Contentful #12575

@sjohnr

Description

@sjohnr

Expected Behavior

The SaganPlugin needs to send the username parameter for the personal access token.

Current Behavior

The SaganPlugin currently sends not-used as the username, since the Sagan API originally called the /user endpoint with the access token to authenticate the user and discover the GitHub username.

.addInterceptor(new BasicInterceptor("not-used", gitHubToken))

Context

An updated version of the Sagan API has been deployed to work with Contentful as the backend, and is documented at https://api.spring.io/restdocs/index.html. The updated API does not call the GitHub /user endpoint, and therefore requires the username parameter to be provided in the request.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions