Coder Social home page Coder Social logo

Comments (6)

LarryKlugerDS avatar LarryKlugerDS commented on June 14, 2024

Yes, use DocuSign's JWT grant flow.

It enables your app to impersonate an account user. The access token that you receive back can then be used to send envelopes, obtain a URL for an embedded signing ceremony, etc.

Signers do not need an account on DocuSign, only senders. If your application will enable someone to sign, then your app can get an access token for a "system user" such as "[email protected]". Then impersonate the [email protected] user for sending the envelope and for obtaining the URL for the embedded signing ceremony.

Note that you need to impersonate an account user. The JWT for applications flow is not supported for the eSignature API.

If you have further questions of this nature, please ask on StackOverflow.com with tag docusignapi

from code-examples-java.

nujnay avatar nujnay commented on June 14, 2024

But how we can bypass this url https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=7&state=a39fh23hnf23&redirect_uri= Or not login by this url

from code-examples-java.

LarryKlugerDS avatar LarryKlugerDS commented on June 14, 2024

That URL is for granting consent individually. It is a one time process. That URL is NOT processed by your application. The user who is being impersonated uses it one time from their browser (not from your application).

Or you can use administrative consent.

This developer blog post may also be of help:
https://www.docusign.com/blog/developers/oauth-jwt-granting-consent
We also have a video about Administrative Consent: https://www.youtube.com/watch?v=WAejcu-O1oE

from code-examples-java.

nujnay avatar nujnay commented on June 14, 2024

In any case, we need to let the user login first?

from code-examples-java.

LarryKlugerDS avatar LarryKlugerDS commented on June 14, 2024

we need to let the user login first?

No. The DocuSign user (the administrator/developer for the application), as a one time process, grants consent to your application to impersonate the sender of the envelope.

Later (forever), the application can obtain an access token that impersonates the DocuSign user. The user of your application does not need to login to sign documents.

from code-examples-java.

nujnay avatar nujnay commented on June 14, 2024

Thank you bro, love you

from code-examples-java.

Related Issues (17)

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.