Git Product home page Git Product logo

Comments (6)

AaronAtDuo avatar AaronAtDuo commented on June 9, 2024

@Mastan12789 I think it's likely you're running into the same issue as duosecurity/duo_universal_python#1. Are you trying to use the SDK from a SPA-like application where you handle the login via XHR requests and not http POSTs?

from duo_universal_csharp.

Mastan12789 avatar Mastan12789 commented on June 9, 2024

@AaronAtDuo yes we are also following same .
Login via xhr request using react and Dotnet core api

from duo_universal_csharp.

AaronAtDuo avatar AaronAtDuo commented on June 9, 2024

@Mastan12789 I don't think anyone has ever been able to get that flow to work with the Duo Universal Prompt. The prompt is expecting to get the user via a redirected browser, and to POST the browser back to some server-side application.

So I don't think this SDK as-is will be suitable for your application. https://duo.com/docs/oauthapi describes the API that this SDK uses, so perhaps you'll be able to find a solution by accessing the API directly.

from duo_universal_csharp.

Mastan12789 avatar Mastan12789 commented on June 9, 2024

@AaronAtDuo Using oauthapi how to get the DuoUniversal prompt ?

from duo_universal_csharp.

Mastan12789 avatar Mastan12789 commented on June 9, 2024

@AaronAtDuo after redirect uri from mvc app we are getting below error

{“error” : “invalid_client”, “error_description”: “The provided client_assertion was invalid.”}

May I know the reason?

from duo_universal_csharp.

AaronAtDuo avatar AaronAtDuo commented on June 9, 2024

@Mastan12789 unfortunately there's multiple possible causes of that error. It's the "catch-all" error when no specific cause of failure is identified.

from duo_universal_csharp.

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.