azure - Microsoft.IdentityModel.Clients.ActiveDirectory AcquireTokenAsync always requires a resource when the documentation says it doesnt -


i have requirement use azure ad authenticate clinet applications using oauth 2.0.

we started using microsoft.identitymodel.clients.activedirectory.acquiretokenasync library must pass resource: enter image description here

even though documentation here: https://azure.microsoft.com/en-us/documentation/articles/active-directory-protocols-oauth-code/

says it's optional: enter image description here

we don't want pass resource our clients should know little possible back-end services changes in future minimal.

another requirement use app-only flow dont need user interaction.

i have tried writing straight http rest calls using restsharp can't around popup.

any great.

i think issue related version of ddl, facing same issue have replace ddl below version

microsoft.identitymodel.clients.activedirectory.dll--> v2.23.0.0

now work me.

you can download here

https://www.nuget.org/packages/microsoft.identitymodel.clients.activedirectory/2.23.302261847


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -