This commit is contained in:
@@ -68,6 +68,12 @@ namespace qbridge.Controllers
|
||||
url = Microsoft.AspNetCore.WebUtilities.QueryHelpers.AddQueryString("https://appcenter.intuit.com/connect/oauth2", queryParams);
|
||||
// return Content($"AuthUrl: {url}");
|
||||
return Redirect(url);
|
||||
|
||||
//will ask for login creds and permission then will redirect back to the Get method above with:
|
||||
//State: MyUniqueStateID, Code: AB11569366500tshFDRPEuR28l4vTjpXWuwFldE44rMng98Gn9
|
||||
|
||||
//which in turn is *then* used to actually get the access token
|
||||
//which is step 5 here: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/openid-connect#step-5-exchange-authorization-code-to-obtain-id-token-and-access-token
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user