React and Azure B2C Integration

%3CLINGO-SUB%20id%3D%22lingo-sub-1325078%22%20slang%3D%22en-US%22%3EReact%20and%20Azure%20B2C%20Integration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1325078%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20guys%2C%20newbie%20here%20so%20forgive%20any%26nbsp%3B%3CSPAN%3Efaux%20pas.%20Just%20wondering%20if%20anyone%20out%20there%20has%20had%20resounding%20success%20integrating%20React%20with%20Azure%20B2C%3F%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EAt%20this%20point%20I've%20read%2Fwatched%20more%20than%20a%20few%20tutorials%2C%20quickstarts%20and%20general%20documentation.%20I%20actually%20have%20a%20somewhat%20working%20basic%20code%20base%20but%20it's%20using%20the%20'soonish'%20to%20be%20deprecated%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%3CSPAN%3Elogin.microsoftonline.com%2Fcommon%20endpoints%20and%20I'd%20like%20to%20migrate%20to%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Eb2clogin.com.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EI'm%20trying%20to%20implement%20with%3C%2FSPAN%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Ereact-aad-msal%20package%2C%20which%20also%20uses%20the%20standard%20msal.%20The%20real%20issue%20for%20me%20here%20is%20it%20nailing%20down%20the%20proper%20configurations%20for%20the%20new%20api.%20I've%20seen%20multiple%20references%20to%20how%20the%20authority%20should%20be%20set%20for%20b2c%20and%20they%20all%20vary%20somewhat.%20I%20believe%20I've%20tried%20them%20all%20at%20this%20point%20and%20still%20no%20success%2C%20specifically%20I'm%20getting%20invalid%20tokens%20return%20which%20have%20inconsistent%20versions%20from%20the%20authority%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20anyone%20else%20running%20into%20this%20specific%20problem%20or%20have%20a%20really%20good%20general%20example%2Frepo%20they%20found%3F%20Any%20help%20or%20direction%20would%20be%20greatly%20appreciated!!%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1325078%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Active%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hey guys, newbie here so forgive any faux pas. Just wondering if anyone out there has had resounding success integrating React with Azure B2C? At this point I've read/watched more than a few tutorials, quickstarts and general documentation. I actually have a somewhat working basic code base but it's using the 'soonish' to be deprecated 

login.microsoftonline.com/common endpoints and I'd like to migrate to 
b2clogin.com.
 
I'm trying to implement with
react-aad-msal package, which also uses the standard msal. The real issue for me here is it nailing down the proper configurations for the new api. I've seen multiple references to how the authority should be set for b2c and they all vary somewhat. I believe I've tried them all at this point and still no success, specifically I'm getting invalid tokens return which have inconsistent versions from the authority?

Is anyone else running into this specific problem or have a really good general example/repo they found? Any help or direction would be greatly appreciated!!
0 Replies