question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Moving from login.microsoftonline.com to b2clogin.com causes `The IDP client key/secret is not properly configured` error with Facebook IDP

See original GitHub issue

I upgraded to MSAL 2.7.0 and tried to move to <tenant>.b2conline.com I am using Xamarin Forms

In my Xamarin Forms application, the login screen appears, I am able to register and also get my user created but the control never gets redirected to my app. (the application just hangs). Am I missing a redirect setting somewhere ? In my native app; I set my redirect to msal<tenantid>😕/auth

What authentication flow has the issue? Native/Xamarin

Other? - please describe;

Repro

  AuthenticationClient = new PublicClientApplication(AppSettings.B2cClientId,
                $"{AppSettings.B2cAuthority}{AppSettings.B2cTenant}/{AppSettings.B2cPolicy}");
            AuthenticationClient.RedirectUri = $"msal{AppSettings.B2cClientId}://auth";
…

                var result = await App.AuthenticationClient.AcquireTokenAsync(
                    AppSettings.Scopes,
                    GetAccountByPolicy(accounts, AppSettings.DefaultB2cPolicy), 
                    App.UiParent);

Hangs in the above line.


Expected behavior I was expecting it to return with the access tokens so that I can save them and move to the next screen.

Actual behavior The application just freezes

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:37 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
livehopcommented, Feb 5, 2019

Give me a week’s time; I will remove code from my Xamarin application and create a sample application pointing to existing profiles that don’t work for your test. We could either do a screen share or I could send that app over to you and changes the id’s later.

Regards, Dhiru

On Mon, Feb 4, 2019 at 3:12 PM jennyf19 notifications@github.com wrote:

@livehop https://github.com/livehop @parakhj https://github.com/parakhj Do we have an update on this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/808#issuecomment-460395331, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEKs2Ets3Gb2LNIVwPIDfyC8rFDVEp6ks5vKJRIgaJpZM4aLk0z .

0reactions
henrik-mecommented, Jun 28, 2019

@livehop : closing this one. Please re-open if you have any updates or need us to look further into this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate applications and APIs to b2clogin.com - Azure AD ...
When you set up an identity provider for sign-up and sign-in in your Azure Active Directory B2C (Azure AD B2C) applications, you need...
Read more >
Cannot be redirected to my configured IdP using B2C Tenant
When I opening my SP app and trying to login, it was opening the login.microsoftonline.com and I was logging in with an email...
Read more >
Azure APIM : stuck with identity provider and AD B2C ...
This IDP is already functional for a long time now on the b2clogin domain, we now want to align the APIM with the...
Read more >
Response URI for Azure AD B2C returns 404, custom ...
I suspect this could be caused by the recent migration we were doing with the resources in adjacent subscription.
Read more >
A Walkthrough For Azure AD B2C Custom Policy (Identity ...
For the folks who try to edit custom policies by oneself, here we walkthrough the policy structure in Azure AD B2C custom policy....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found