We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

icefishandrew's avatar
icefishandrew
Explorer | Level 3
5 months ago
Solved

OIDC Using .NET SDK

Does the .NET SDK support OIDC?  Looking at the OpenID Connect Guide, after a call to /oauth2/token I should receive an id_token which is a JWT.  Using the PKCEOAuthFlow.ProcessCodeFlowAsync() returns an OAuth2Response, which does not contain the id_token. Is there another way to go about this using the SDK?  

  • Hi icefishandrew,

    I just wanted to provide you with an update, I have confirmed that "id_token" is indeed currently not included in the OAuth2Response—as originally reported. That said, I've passed this feedback along as a feature request to the team. I can't promise if or when that might be implemented though.

    As it stands, the only workaround would be to create an HTTP request in .NET (or using another package of your choosing) to the /oauth2/token endpoint to obtain that "id_token".

3 Replies

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 months ago

    Hi icefishandrew,

    I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:

    • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
    • the full text of any error or unexpected output
  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 months ago

    Hi icefishandrew,

    I just wanted to provide you with an update, I have confirmed that "id_token" is indeed currently not included in the OAuth2Response—as originally reported. That said, I've passed this feedback along as a feature request to the team. I can't promise if or when that might be implemented though.

    As it stands, the only workaround would be to create an HTTP request in .NET (or using another package of your choosing) to the /oauth2/token endpoint to obtain that "id_token".

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
411 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!