We have a Gitea service on Windows using sqlite3. All normal git functions are working correctly. When attempting to use the generic package guidelines with curl (via PowerShell) we always get a failure related to security token. Our server authenticates via our internal Active Directory - no issue normally when using Git. We have turned on debug level logging but don’t see anything there related to individual actions by users?
The specific error is:
curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid.
A sample command line with generics for secure items:
curl --user aduser --upload-file .\some-upload-folder-file-location https://windows-server-FQDN:3000/api/packages/*aduser*/test-repo/testing/*file-name-for-storage*