Skip to content

feat: use Authorization header for Gitea provider#614

Open
Gusted wants to merge 1 commit intomarkbates:masterfrom
Gusted:master
Open

feat: use Authorization header for Gitea provider#614
Gusted wants to merge 1 commit intomarkbates:masterfrom
Gusted:master

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