Skip to content

feat: use Authorization header for Gitea provider #614

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gusted
Copy link

@Gusted Gusted commented Jul 26, 2025

  • Using the access_token URL query is a deprecated way1 of passing the authorization.
  • Use the Authorization header to pass the token.

Footnotes

  1. https://github.com/go-gitea/gitea/blob/54fe47fbca4023061a657bd54425c17b8667c5d2/modules/setting/security.go#L183

- Using the `access_token` URL query is a deprecated way[^1]
of passing the authorization.
- Use the Authorization header to pass the token.

[^1]: https://github.com/go-gitea/gitea/blob/54fe47fbca4023061a657bd54425c17b8667c5d2/modules/setting/security.go#L183
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants