Is there a way to authenticate a request with digest authentication?

I’m working with MongoDB Atlas, which uses Digest Authentication to authorize access to it’s API. I was wondering if it’s possible to achieve that using Roblox’s HttpService!

This is what I’ve tried so far:

local res = HttpService:RequestAsync(
	{
		Url = "https://cloud.mongodb.com/api/atlas/v1.0/groups/"..groupId,
		Method = "GET",
		Headers = {
			['Accept'] = 'application/json',
			['user'] = publicKey,
			['pass'] = privateKey,
			
		}
	}
)

Any ideas?
PS: This is my first post here, so I’m accepting suggestions on how to make more adequate ones!

1 Like