MSAL libraries or samples to get saml2 assertions.

VP, Rakshith 21 Reputation points
2021-01-27T11:55:52.54+00:00

Hi team,

I have implemented OAUTH 2.0 authentication with MSAL libraries as below.
clientApplication.getAuthorizationRequestUrl(parameters).toString(); to invoke authorization endpoint and
clientApplication.acquireToken(authorizationCodeParameters) to aquire token from authorization code.

Now I have to implement the same flow for SAML V2.0 protocol too and need some help from the Microsoft team in finding related libraries with which I can invoke /saml2/ endpoint and fetch saml assertions.

I'm using Spring boot 2.2.

Thanks and Regards,
Rakshith VP

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
Alfredo Revilla (Personal Account) 391 Reputation points
2021-01-27T18:10:12.923+00:00

Hello, there are not SAML client libraries provided by MSFT but you can try spring-security-pac4j.

@JamesTran-MSFT

Was this answer helpful?

2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.