GitLabSwift
GitLabSwift copied to clipboard
OAuth compliant authorization header
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