Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

AadIssuerValidator usage #30

Closed
ghost opened this issue May 20, 2019 · 13 comments
Closed

AadIssuerValidator usage #30

ghost opened this issue May 20, 2019 · 13 comments
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented May 20, 2019

The code in this file: https://github.com/AzureAD/microsoft-authentication-extensions-for-dotnet/blob/master/src/Microsoft.Identity.Client.Extensions.Web/Resource/AadIssuerValidator.cs

is replicated in many MSFT samples using AADv2, aka https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/Microsoft.Identity.Web/Resource/AadIssuerValidator.cs

Also, this code is not part of a nuget package, even a preview, at this time.

should one just copy this code into their own project if they want to use the AadIssuerValidator?

@jmprieur
Copy link
Contributor

@rhizohm we are working on productizing this code (coming from samples indeed), with the goal of releasing a NuGet package
cc: @MarkZuber @brentschmaltz @henrik-me

@henrik-me
Copy link

@jmprieur @MarkZuber : Perhaps we should add a roadmap to the wiki?

@jmprieur
Copy link
Contributor

@henrik-me : yes we should

@brentschmaltz
Copy link
Member

@jmprieur @henrik-me I did first pass cleanup of AadIssuerValidator.

@jmprieur
Copy link
Contributor

@brentschmaltz
can I merge all the changes you proposed in the PR? (I would think so)

cc: @jmprieur @MarkZuber @kalyankrishna1 @TiagoBrenck

@brentschmaltz
Copy link
Member

@jmprieur please pull them in. I expect to be able to continue in about a week. Is there any specific place you would like to prioritize?

@henrik-me henrik-me added the question Further information is requested label Jul 19, 2019
@allenwux
Copy link

Any update on this? It is very confusing if the sample code in documentation doesn't work.

@jmprieur
Copy link
Contributor

@allenwux : did you mean that https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/Microsoft.Identity.Web/Resource/AadIssuerValidator.cs still does not work?
We have unit tests etc .... are we missing a case? can you please elaborate ?

@allenwux
Copy link

the code sample in the documentation doesn't work:
https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-web-app-sign-user-app-configuration

Can't find the AadIssuerValidator class after adding the nuget package

That documentation page needs some update anyway. I was not able to follow it.

@udlose
Copy link

udlose commented Sep 23, 2019

Is this in a nuget package yet for AspNetCore v2.2?

@jmprieur
Copy link
Contributor

@jmprieur
Copy link
Contributor

@jmprieur
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants