Giter Site home page Giter Site logo

Comments (5)

JasSuri avatar JasSuri commented on August 22, 2024

You can combine these two samples:
HRD via Domain_Hint
HRD by collecting and parsing an email domain

Where a domain_hint is not passed, you can be sent to the default Idp, which Sample 1 does already, just swap the claimsExcahnge from the AAD OIDC technical profile to the LocalAccountSignIn technical profile reference Id.
Then use Sample 2 to see how to parse the domain from the email entry presented at the LocalAccountSignIn technical profile.

from samples.

alex-mason-by avatar alex-mason-by commented on August 22, 2024

I wonder if I might share my policy to see what am doing wrong as I feel like the logic I have is almost there? I have a parsed domain hint exchange followed by a prompted domain hint exchange preconditioned by the output of the first exchange. I have seen a couple different outcomes neither of which works exactly. One of the outcomes seems to end in some sort of infinite loop. My goal is to use the same matching lookup in both from a known list of domains.

from samples.

alex-mason-by avatar alex-mason-by commented on August 22, 2024

So, I closed this issue earlier since I did successfully implement parsed and then prompted HRD. It seems to work fine for interactive logins. I now am wrestling with silent token flow and MSAL.js in particular. @JasSuri When you consider these HRD schemes based on domain_hint etc. do you not think it is necessary to pass both login_hint and domain_hint in order to navigate the orchestration steps? I seem to be able to get silent access token call working only when I intercept a failing silent call and append both domain_hint and login_hint. I am specifically testing the behavior with my policy and this MSAL.js PR changes - AzureAD/microsoft-authentication-library-for-js#1299

from samples.

JasSuri avatar JasSuri commented on August 22, 2024

I'll look into this and confirm.

from samples.

JasSuri avatar JasSuri commented on August 22, 2024

Closing this issue, as it was determined there was an orchestration step without any session management. There is no need to pass login_hint or domain_hint in this sample for silent token calls.

from samples.

Related Issues (20)

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.