question

DaveOHara-8915 avatar image
0 Votes"
DaveOHara-8915 asked JamesHamil-MSFT commented

B2C Webform: Can't Get Claims

I've been working with https://github.com/Zen3InfoSolutions/B2C-WebForms-DotNet as a base. Mostly, I've changed it for my environment and fixed a line or two.

I've got it asking for login information, but I don't get any claims information when it returns. I'm also noticing that the AuthorizationCodeReceived isn't firing.

Can someone tell me what I'm missing please. It would be greatly appreciated.


azure-ad-b2cdotnet-aspnet-webforms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered JamesHamil-MSFT commented

Hi @DaveOHara-8915 , at first glance it looks like this hasn't been updated since 2017 so there may be parts that are deprecated. I'll take a look at it and see if I can find a solution!

Best,
James

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JamesHamil-MSFT I appreciate it. I did have to change some things to have it ask for the B2C login info. Just not getting back that the user is authenticated. I will say that MVC Core was easier to interface.

0 Votes 0 ·

Hi @JamesHamil-MSFT, just curious. Did you find a solution or can you point me towards something?

I appreciate your help.

0 Votes 0 ·

Hi @DaveOHara-8915 , I've been looking but the only close thing I can find is this which I'm sure you've already seen. Since this sample isn't really supported anymore I think the best bet is to just Frankenstein together different elements until it works. The good thing is though you can always post on these forums if you get stuck and we can help. I'm sorry this isn't the answer you wanted. Feel free to ask any questions though!

Best,
James


0 Votes 0 ·