Giter Site home page Giter Site logo

Comments (4)

GruberMarkus avatar GruberMarkus commented on June 26, 2024 1

I will open a ticket.

Thanks for you fast support!

from microsoft-authentication-library-for-dotnet.

localden avatar localden commented on June 26, 2024

@GruberMarkus can you please share the code you are writing for this? For consent, are you talking about the first time a user logs in? Do you have a screenshot?

from microsoft-authentication-library-for-dotnet.

GruberMarkus avatar GruberMarkus commented on June 26, 2024

There is even no code neccessary. It is enough to open one of the two consent links I shared:

I could break it down a bit further:

  • All information I expect is shown when the link is opened by an account having the permissions to grant admin consent.
  • When the link is opened by an account that does not have the permissions to grant admin consent, the logo and the name of the verified Microsoft Partner is shown, but not the name of the application. I would also expect to see the Terms of Service URL and the Privacy State URL, but they are missing, too.

In the attached screenshot, you can see that the "Need admin consent" web site does not show the name of the application.
Screenshot 2024-05-19 123628

I am quite sure that this is not an MSAL problem. Maybe you know a solution, or can tell me where I can report this problem?

from microsoft-authentication-library-for-dotnet.

bgavrilMS avatar bgavrilMS commented on June 26, 2024

You can use the Azure Portal to open a support ticket with Microsoft. The support team will get it to the service team if they cannot find a solution.

The web UI experience, including the authorization screens, is owned by the Identity Provider (Entra ID). Not by the SDK.

The main question here is - is this a regression? Did this ever work ?

I do not know the experience that well, but the "Terms and Conditions" should definitely appear in one of the authorization pages, there is even a CA policy to enforce it - https://learn.microsoft.com/en-us/entra/identity/conditional-access/terms-of-use
I think the name of app is shown on the first screen, on the "App XYZ wants you to login. Enter your username below".

Also, the name of the app in a public client application on Windows, Mac or Linux is not a reliable indicator. This is because on public client the app identity cannot be enforced by the OS. It's just a client ID and a redirect URI, both of them public pieces of information. Visual Studio's client ID is definitely reused by many apps.

from microsoft-authentication-library-for-dotnet.

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.