-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Hi, currently I'm getting this error. I suppose the request should return a JSON but looks like I'm getting some binary rubbish.
R: ?code=ox15HMhqmEqMQk26dRyhP1&state=JrQ1R2TsXxxnPnIWrRAQ3zj6ijUpD13i
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: �. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at ESI.NET.SsoLogic.GetToken(GrantType grantType, String code, String codeChallenge) in D:\Projects\MyProjects\EVE\UFIT\ESI.NET\ESI.NET\Logic\_SSOLogic.cs:line 133
Here're the code scaps:
[Route("auth")]
public async Task<string> Index()
{
await EsiClient.SSO.GetToken(GrantType.AuthorizationCode, ControllerContext.HttpContext.Request.Query["code"]);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
