Forum Discussion

sureshrajamani910's avatar
sureshrajamani910
Copper Contributor
Oct 11, 2021

Automate SSO SPFX AZURE AD

Hi,

I have configured my SPFX application for single sign on with Azure AD. So when i open my spfx portal, it is redirecting to Microsoft online for authentication and once it is authenticated, user redirected to spfx portal.

I am connecting to web api from spfx  by generating bearer token using ADAL library using the SPFX access token generated at sso. This works fine.

Now i want to test my webapi with multiple users using postman. I need spfx token to be generated from postman without redirection and prompt to enter credentials. I am trying to automate the 2 steps to do performance and load test.

1.Generate token with user credentials

2.Generate bearer token for client id & secret along with the access token from step-1

Kindly advise.

 

Thanks,

Suresh Rajamani

No RepliesBe the first to reply

Resources