GitLabSwift icon indicating copy to clipboard operation
GitLabSwift copied to clipboard

OAuth compliant authorization header

Open EastHell opened this issue 1 year ago • 0 comments

Problem

Using PRIVATE-TOKEN header users can only use personal/project/group tokens, and can't use OAuth tokens.

Solution

According to gitlab documentation https://docs.gitlab.com/ee/api/rest/#personalprojectgroup-access-tokens there's also OAuth compliant way to authorize which works with personal/project/group and OAuth tokens.

Checks

  • [x] Checked on real application

EastHell avatar Jun 16 '24 19:06 EastHell