azure-ad-b2c / apps Goto Github PK
View Code? Open in Web Editor NEWAzure AD B2C application integration samples.
Azure AD B2C application integration samples.
I've been struggling with facebook integration via Azure B2C. Is this possible? I keep getting AD errors like malformed url or JSON Deserialization error
No password reset? Is there an example of how this would work?
When I try to implement the dotnet-core-b2c-embedded in my own environment [pre-reqs are covered] looping occurs on due to the JavaScript reload. Every sample I have tried does this. I fixed this by changing the reload JS to this:
<script> var refresh = window.sessionStorage.getItem('refresh'); console.log(refresh); if(document.referrer.startsWith('https://login.arctoso.com/') && (refresh === null)) { window.sessionStorage.setItem('refresh', "1"); window.top.location.reload(); }; </script>This prevents the looping, but the base site did not get the token, even though it was clearly reloaded. What the reload should do is force the site to detect that there was an authentication event, and consume the token. I fixed this by changing the script logic to:
<script> var refresh = window.sessionStorage.getItem('refresh'); console.log(refresh); if(document.referrer.startsWith('https://login.arctoso.com/') && (refresh === null)) { window.sessionStorage.setItem('refresh', "1"); window.top.location = "https://localhost:44316/MicrosoftIdentity/Account/SignIn" }; </script>This now works, but what is the underlying issue on all of these samples? Did something change in browser behaviors? I tested to verify looping also by publishing the solution to an Azure app instance and used the same custom domain root to ensure the issue wasn't caused by some type domain security issue.
Any Blazor WebAssembly example that included these features would be great
... and something I've had for a better workflow for all dependent apps of B2C
is TenantId the same as the tenants subscription ID? If Not where can I find the tenant id? Looking in the portal under the B2C Tenant I only see a SubscriptionID on the overview page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.