Hi @robert_3065 ,
Glad it's working!
Good point about the error message; it's in a kind of general place, so I just replaced that unhelpful base64 decoding message with this (via PG-2069):
string userPassString;
try
{
userPassString = context.Request.ContentEncoding.GetString(Convert.FromBase64String(authHeader.Substring("Basic ".Length)));
}
catch (FormatException)
{
throw new HttpException(400, "Invalid Basic credential (expected base64 of username:password)");
}
Not the perfect solution, but better than now!
Cheers,
Alana