GithubHelp home page GithubHelp logo

Comments (4)

dstrockis avatar dstrockis commented on July 2, 2024

I would recommend triple checking your config values on both daemon and service. If you want to capture a fiddler trace and mail it to me, I would be happy to take a quick look.

from active-directory-dotnet-daemon.

lysaghtm avatar lysaghtm commented on July 2, 2024

I am also getting this error. I encountered the following 2 issues that may or may not be relevant

  1. In the readme, it says replace the ids:ClientID key for the todoListService but the web.config does not contain such a key.
  2. The Audience property in Startup.Auth is deprecated, the warning suggests using TokenValidationParameters.ValidAudience

Regards,
Michael Lysaght

from active-directory-dotnet-daemon.

dstrockis avatar dstrockis commented on July 2, 2024

Thanks Michael. On #1 - That step is unnecessary. I've removed it from the README. Thanks for the catch . On #2 - You can ignore that warning.

I'm still not sure what is causing this error. I would double check that the Audience value in the service exactly matches the TodoListResourceId in the daemon. If you want to mail me a trace of the token acquisition and failing API call, I would be happy to help diagnose.

from active-directory-dotnet-daemon.

lysaghtm avatar lysaghtm commented on July 2, 2024

This is working now. I don't know what the initial problem was, I suspect an error on my part with one of the config settings. I completely started over from scratch and it works.

from active-directory-dotnet-daemon.

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.