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.

Sign up flow missing information for Edit Profile

See original GitHub issue

Which Version of MSAL are you using ?

2.7.1

Platform xamarin android

What authentication flow has the issue?

  • Desktop / Mobile
    • Username Password

Is this a new or existing app? b. The app is in production, I haven’t upgraded MSAL, but started seeing this issue

Repro

var your = (code) => here;

Expected behavior A clear and concise description of what you expected to happen (or code).

authenticationResult = await ADB2CClient.AcquireTokenAsync(Scopes, firstAccount, UIBehavior.SelectAccount, string.Empty, null, AuthorityEditProfile, App.UiParent);

Actual behavior

Functionality works in that I can bind above to a button, however the page that is returned is hard for users to follow

  1. It contains two fields which are for username and password, but without labels so you wouldn’t know
  2. Further confused by an error message displayed within the email text box

Possible Solution

  1. Label the text fields correct as Username / Email, and Password
  2. Display the email address from the profile, not the error message screenshot 2019-03-04 at 19 55 55

Additional context/ Logs / Screenshots Add any other context about the problem here, such as logs and screebshots. Logging is described at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/logging

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DaveBrickleycommented, Mar 5, 2019

@jmprieur

FIXED

I’m really sorry, I read your samples and I finally figured it out from that, yes this totally sorts my problem, sorry for all the questions

0reactions
DaveBrickleycommented, Mar 6, 2019

@jmprieur

Depends, for a more experienced developer might be fine, for a relative newbie it was really confusing

Going right back to when I started using MSAL, I was firing off various tickets because I couldn’t access the B2C profile information from the token

This seemed really strange, because you’d have thought it was a primary use case

I ended up using MSAL in app and ADAL in API to work around this, passing the Object ID from the token to achieve what I needed

However, now looking through the additional link you’ve sent me to, I’m wondering if that whole issue could have been avoided had I noticed the authority change to use the b2c domain?

In terms of my latest problem, it might be nicer for people in this position in future if the ability to specifiy the B2C element as part of the main library, rather than having to write a method to do it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permission Set->Flow Access available flows is empty
On your list of flow click the dropdown and select EDIT ACCESS. Dropdown Edit Access. Then select the Override default behavior checkbox.
Read more >
Solved: Flow is not displayed in my powerApp
Firstly, please make sure you signed in your PowerApps using same account which you use to create/update your flow. Please create a new...
Read more >
Collect profile information and register users
Collect profile information and register users. Okta can assist you in collecting profile data from end users before they can access any app...
Read more >
User settings and profile updates
Ory Identities allows users to update their own settings and profile information using two principal flows: Flows where the user sits in ......
Read more >
Profile Builder – User Profile & User Registration Forms
Powerful user profile plugin for creating front-end login, user registration and edit profile forms. Includes content restriction and user role editor …
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