Cutter
Cutter
CC#
Created by Cutter on 7/28/2023 in #help
❔ Can't access Microsoft Graph. What part am I not understanding clearly?
I want to be able to sign the user in and get permission to use Microsoft graph scopes
7 replies
CC#
Created by Cutter on 7/28/2023 in #help
❔ Can't access Microsoft Graph. What part am I not understanding clearly?
Well I will be communicating with a front end app with my web api. What do you think is best?
7 replies
CC#
Created by Cutter on 7/28/2023 in #help
❔ Can't access Microsoft Graph. What part am I not understanding clearly?
My Json Config
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "trublue.api.onmicrosoft.com",
"TenantId": "common",
"ClientId": "<Id>",
"ClientSecret": "<Secret>",
"ClientCapabilities": [ "cp1" ],
"CallbackPath": "/apitest/oauth2-redirect.html",
"Scopes": "User.Read"
},
"DownstreamAPI": {
"BaseUrl": "https://graph.microsoft.com/v1.0",
"Scopes": "user.read"
},
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "trublue.api.onmicrosoft.com",
"TenantId": "common",
"ClientId": "<Id>",
"ClientSecret": "<Secret>",
"ClientCapabilities": [ "cp1" ],
"CallbackPath": "/apitest/oauth2-redirect.html",
"Scopes": "User.Read"
},
"DownstreamAPI": {
"BaseUrl": "https://graph.microsoft.com/v1.0",
"Scopes": "user.read"
},
7 replies
CC#
Created by Cutter on 7/26/2023 in #help
❔ ASP.NET Core WebAPI - Cannot choose the AuthenticationScheme for MicrosoftGraphs?
Looking into the Release Notes shows me the new correct way https://github.com/AzureAD/microsoft-identity-web/blob/master/src/Microsoft.Identity.Web.GraphServiceClient/Readme.md However now the error is
TypeError: NetworkError when attempting to fetch resource.
TypeError: NetworkError when attempting to fetch resource.
3 replies
CC#
Created by AK sanTari on 8/22/2022 in #help
.NET CORE 6 - Injecting IDbConnection... is it good practice?
i do not see a problem with this
5 replies