msal

MSAL for Android fails performing B2C login

那年仲夏 提交于 2021-02-07 12:16:32
问题 I'm using 0.2.2 version of Microsoft Authentication Library (MSAL) Preview for Android library to perform Azure AD B2C login in my native Android app. The library opens the browser to start login process. Afterwards I log in successfully and it navigates me back to the app. Inside AuthenticationCallback , I get the following error: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference at com.microsoft.identity

MSAL for Android fails performing B2C login

会有一股神秘感。 提交于 2021-02-07 12:15:22
问题 I'm using 0.2.2 version of Microsoft Authentication Library (MSAL) Preview for Android library to perform Azure AD B2C login in my native Android app. The library opens the browser to start login process. Afterwards I log in successfully and it navigates me back to the app. Inside AuthenticationCallback , I get the following error: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference at com.microsoft.identity

does the azure App Service Authentication module suport azure aad b2c?

风格不统一 提交于 2021-02-05 06:40:47
问题 I have a UWP app that needs a backend. I want to use azure app service and need set an authentication for the background. The App Service Authentication module can easily set and Authentication for the app. I wish to use AAD B2C, but the App Service authentication module say that it does not support aad 2.0/msal. So, does the App Service Authentication module can support AAD B2C? And, how can I verify the AAD B2C token signature on the webservice? Microsoft doc said can use some library to

does the azure App Service Authentication module suport azure aad b2c?

巧了我就是萌 提交于 2021-02-05 06:40:27
问题 I have a UWP app that needs a backend. I want to use azure app service and need set an authentication for the background. The App Service Authentication module can easily set and Authentication for the app. I wish to use AAD B2C, but the App Service authentication module say that it does not support aad 2.0/msal. So, does the App Service Authentication module can support AAD B2C? And, how can I verify the AAD B2C token signature on the webservice? Microsoft doc said can use some library to

Is there a way to Authorize Net Core 3.0 APIs with JWT and also Azure AD Tokens

╄→гoц情女王★ 提交于 2021-01-29 15:27:20
问题 I'm creating a web service that contains authentication (no identity), and I protected the APIS with JWT (the token is returned when the user logs in or registers by email, password, name, etc..) but I also have a microsoft login/register using MSAL, I also created an Azure App. How do I validate the login with microsoft to return the JWT or how could I implement the API authorization using both JWT and Azure AD. 回答1: You have currently registered an Azure application, you can set it as a

Azure AD with Single Page Application and ASP.Net core web api: how to access all relevant tokens?

时间秒杀一切 提交于 2021-01-29 13:40:22
问题 Our application is an Angular SPA with ASP.Net Core Web API. The identity is provided by Microsoft Identity Platform (Azure AD) and authentication is provided by the same. The authorization is done in Web API basis "Application Roles". These "Application Roles" are held in the Azure AD directory (defined in the Application's manifest and assigned on the tenant domain to users). The Angular SPA receives the tokens from Azure, as per these instructions. The relevant tokens that are issued are:

Azure AD Multi Tenant ,.Net Core Web API with MSAL(Microsoft Authentication Libary)

非 Y 不嫁゛ 提交于 2021-01-29 09:45:36
问题 I believe I have the Microsoft Authentication Library (MSAL) JavaScript pulling back a JWT token, using azure AD multi tenant with the following config. Based of this link https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant. I believe I only need the following two values. clientId: "A134d6c8-8078-2924-9e90-98cef862eb9a" // this would be the app registrations client id(application) authority: "https://login.microsoftonline.com/common" How then

Microsoft Graph, adding multiple attachments to an email

↘锁芯ラ 提交于 2021-01-29 08:26:35
问题 I am using .netCore and Microsoft Graph and trying to add multiple attachments to an email and send it. The email sends nicely, all is there (if i send 2 attachments you see that there are 2 attachments), however only the first attachment is able to be opened up by the recipient. (the attachments all together are less than the 4MB max, so that is not the issue). The code is string content = "{\"message\":{" + "\"subject\":\"" + email.Subject + "\"," + "\"body\":{" + "\"contentType\": \"HTML\"

The application cannot access the iOS keychain in Xamarin.Forms but works in Android

自闭症网瘾萝莉.ら 提交于 2021-01-28 21:56:59
问题 Hello I am learning using MSAL but met a wired issue. I totally followed the tutorial, and I am using the sample code. But I still got this exception building the client in App.xaml.cs : microsoft.identity.client.msalclientexception: the application cannot access the ios keychain for the application publisher (the team id is null). this is needed to enable single sign on between applications of the same publisher. this is an ios configuration issue. see https://aka.ms/msal-net-enable-keychain

Cannot Authenticate AzureAD native client application

岁酱吖の 提交于 2021-01-28 21:41:52
问题 I have registered an AzureAD application which is a public client / Native Client. I am using the standard code generated by Azure in the portal. the important bits being static App() { _clientApp = PublicClientApplicationBuilder.Create(ClientId) .WithLogging((level, message, containsPii) => { System.Diagnostics.Debug.WriteLine("*************************"); System.Diagnostics.Debug.WriteLine($"{level}: {message}"); }, LogLevel.Verbose, true, true) .WithAuthority($"{Instance}{Tenant}")