Microsoft identity platform

Patel, Hemang (CWM-NR) 0 Reputation points
2024-04-04T23:06:54.5833333+00:00

I am using nodejs for back-end task and i am using azure OAuth 2.0 for authentication using certificate flow so how can i generate client assertion for authenticate user. and unable to find any resource that help me to complete the flow for authenticate user using certificate.

reference
https://learn.microsoft.com/en-us/entra/identity-platform/certificate-credentials#header
want to implement this flow.
https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#request-an-access-token-with-a-certificate-credential

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,521 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 4,000 Reputation points Microsoft Vendor
    2024-04-05T14:32:06.7133333+00:00

    Hi @Patel, Hemang (CWM-NR)

    Thank you for posting this in Microsoft Q&A.

    I Understand you are trying to authenticate a user using certificate flow in Azure OAuth 2.0. you are specifically looking for information on how to generate a client assertion for authentication.

    How can I generate client assertion for authenticate user.

    To obtain a client assertion to authenticate the user, I am referring to this post where a similar issue has been discussed: https://learn.microsoft.com/en-us/answers/questions/1388776/how-to-get-access-token-using-certificate-based-au. Please follow the post and let me know if you are facing any issues.

    To request an access token with a certificate credential, use an encoded token as client-assertion.

    Thanks,

    Navya.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    0 comments No comments