Christoffer Johansen
Christoffer Johansen

Reputation: 709

Docusign consent issue with 2nd user, is duplicate of 1st working

Running into a bit of an odd issue. I assume it may be a setting somewhere?

Using the API integration for embedded forms. We have two brands, so I've made two users with the same roles. Their job is to be the sender for any embedded form for their respective brand. Their roles are both set as sender from the user settings tab.

  1. [email protected]
  2. [email protected]

Each user is in 2 groups, developers and their respective brand. Simply being part of developers will allow them to be assigned as the sender of any API templates. It's worth noting, these two users are identical to one another in setup, only difference being support email.

Using user 1, there are no issues, and everything works as intended. Using user 2 however, I get the error "consent required" when trying to get a JWT token?

I've gone through all and any settings I could find, but nothing seems to do what I need. Both users belong to the organization, so I'm simple confused.

Any help and direction is much appreciated.

Upvotes: 0

Views: 32

Answers (2)

Christoffer Johansen
Christoffer Johansen

Reputation: 709

The answer was I needed to claim the @brand URL the 2nd user was under, which had not been claimed via the application admin interface.

Upvotes: 1

Inbar Gazit
Inbar Gazit

Reputation: 14050

Consent is per user, you would need the second user to log in and navigate to the URL For consent. If you are using the developer/sandbox/demo environment (not production) the URL you would want to set looks like this:

https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=<your IK>&redirect_uri=<some URL you defined for the IK>

Remember to define the redirect_uri in the Apps and Keys page in the settings page where you created the Integraiton Key and you should be good.

Upvotes: 0

Related Questions