Code Monkey home page Code Monkey logo

apps's People

Contributors

cljung avatar dependabot[bot] avatar helshabini avatar jassuri avatar mmacy avatar souravmishra-msft avatar techjazz-ms avatar yoelhor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

apps's Issues

Looping occurs on Reload - dotnet-core-b2c-embedded

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.

Facebook integration

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

Clarification on TenantId

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.

Password reset

No password reset? Is there an example of how this would work?

Blazor WebAssembly authentication demo please

Any Blazor WebAssembly example that included these features would be great

  • Detect if the app is offline, and dim/show only what's available under the current context
  • Authentication to an API in the same Tenant
  • Authentication to an API in a different Tenant

... and something I've had for a better workflow for all dependent apps of B2C

  • Detect if the person is an administrator capable of granting the Allow Access (API permissions button) on behalf of users, to prevent the login prompt, and then invite that Administrator to click on that page with a redirect (or direct click after reading the instructions)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.