Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Generate jwt token

(0) ShareShare
ReportReport
Posted on by 85

Team 

Did anyone generate JWT token for integration in D365 finance. I'm trying to use C# for it, however I noticed the library used for generating JWT toke({ "alg", "RS256" }, { "typ", "jwt" }) in C# is not compatible with D365 finance. please help if I can do it. thank you!

  • Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: Generate jwt token

    Please tell us more about what you're trying to achieve, because the format is one thing, but you'll also need some content of the token. Aren't you actually trying to use OAuth?

  • RahulD365 Profile Picture
    RahulD365 85 on at
    RE: Generate jwt token

    No, I think it came out differently :) However I wanted to ask if there's any standard way of generating jwt token via X++(in D365 FO).

    I used C# for it, and since I'm getting error - I'm doubtful whether I'll be able to use c# hence asking if it's possible via X++

    Thanks for answering!

  • Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: Generate jwt token

    I guess that the context for your question is in your other thread: Issues with the DLL(D365 Finance out of box with same name custom solution dll). But there is nothing about the assembly not being compatible with F&O. On the contrary - you confirmed that F&O does use the library. Therefore this thread seems to be based on a wrong assumption.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans