web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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!

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    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.

  • RahulD365 Profile Picture
    85 on at

    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
    237,965 Most Valuable Professional on at

    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?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans