Skip to content

Instantly share code, notes, and snippets.

System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.ReadSamlTokenFromAuthHeader(String authHeader)
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.AuthenticateUser()
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.OnAuthenticate(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)