diff --git a/Controllers/AuthController.cs b/Controllers/AuthController.cs index db7d9fb..9dbd9e2 100644 --- a/Controllers/AuthController.cs +++ b/Controllers/AuthController.cs @@ -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 }