Skip to main content
Solved

oAuth 2.0 - how retrieve id_token for internal app?


Forum|alt.badge.img+2
  • New Voice
  • 6 replies

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.

View Original
Is this content helpful?

3 replies

Hengfeng Ge
Rising Star
Forum|alt.badge.img+12
  • Rising Star
  • 517 replies
  • Answer
  • 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.


Forum|alt.badge.img+2
  • Author
  • New Voice
  • 6 replies
  • 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
Rising Star
Forum|alt.badge.img+12
  • Rising Star
  • 517 replies
  • 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.