-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require token-based authentication #104
Labels
Milestone
Comments
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 |
wilkinsona
changed the title
Support token-based authentication without a username
Require token-based authentication
Mar 14, 2024
This was referenced Mar 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: