Skip to main content
Active Voice
August 29, 2024
Solved

oAuth 2.0 - how retrieve id_token for internal app?

  • August 29, 2024
  • 3 replies
  • 133 views

Hi

 

I need to get info about logged user within oAuth 2.0 flow, no with getUserInfo endpoint.

I can't use scope 'openid'.

Is there any way to retrieve id of admin who claims consent?

 

BR

Best answer by Hengfeng Ge

it seems id_token only find in admin consent for external application. and it need org admin feature. please reference these url:

https://stackoverflow.com/questions/78201550/docusign-admin-consent-missing-coid-field

https://developers.docusign.com/platform/auth/consent/obtaining-admin-consent-external

 

FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🏆 2024 APAC Reseller Growth Partner of the Year
🔧 First globally to pass DocuSign eSignature Technical Consultant certification
🚀 Expertise in DocuSign integrations with in-house systems for leading enterprises across various industries.

Feel free to reach out for collaboration opportunities.

3 replies

Hengfeng Ge
Hero
Hero
August 31, 2024

it seems id_token only find in admin consent for external application. and it need org admin feature. please reference these url:

https://stackoverflow.com/questions/78201550/docusign-admin-consent-missing-coid-field

https://developers.docusign.com/platform/auth/consent/obtaining-admin-consent-external

 

FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🏆 2024 APAC Reseller Growth Partner of the Year
🔧 First globally to pass DocuSign eSignature Technical Consultant certification
🚀 Expertise in DocuSign integrations with in-house systems for leading enterprises across various industries.

Feel free to reach out for collaboration opportunities.

Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.
VasActive VoiceAuthor
Active Voice
September 2, 2024

@Hengfeng Ge 
yes, I'm aware.

 

Is there any parameter I can use to receive id token for internal app?

Hengfeng Ge
Hero
Hero
September 2, 2024

@Vas  I search many documets and only find the id_token in the document about: admin consent for external application. So what’s business scenario? Why can’t use getUserInfo? 

 

FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🏆 2024 APAC Reseller Growth Partner of the Year
🔧 First globally to pass DocuSign eSignature Technical Consultant certification
🚀 Expertise in DocuSign integrations with in-house systems for leading enterprises across various industries.

Feel free to reach out for collaboration opportunities.

Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.