I'm trying to create an OAuth Handler in .Net Core, The api I'm using wraps the user data response in an property called data, But the OAuthTicket Context Expects a JObject and Not A JToken
var payload = JObject.Parse(await response.Content.ReadAsStringAsync())["data"];
var context = new OAuthCreatingTicketContext(new ClaimsPrincipal(identity),
properties, Context, Scheme, Options, Backchannel, tokens, payload);
context.RunClaimActions();
How can I Convert a JToken To JObject?