You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub no longer supports username and password based authentication. The password has to be a token, and when it is, the username is ignored. We should adapt to this by dropping support for github.username and github.password and requiring github.token instead.
wilkinsona
changed the title
Support token-based authentication without a username
Require token-based authentication
Mar 14, 2024
When there's a token configured, it's used as the value of the password:
github-changelog-generator/src/main/java/io/spring/githubchangeloggenerator/github/service/GitHubProperties.java
Line 51 in 3e01a00
When deciding whether to configure authentication, there has to be a username:
github-changelog-generator/src/main/java/io/spring/githubchangeloggenerator/github/service/GitHubService.java
Lines 60 to 62 in 3e01a00
With token-based authentication, a username isn't necessary. Instead, we should present the token as part of an
Authentication: Bearer
header.The text was updated successfully, but these errors were encountered: