Forum Discussion

ReadyAPIComm's avatar
ReadyAPIComm
New Contributor
7 months ago

Accessing Custom Project Properties from Automation script for authentication

Hello

How do I access project level custom properties from the automation script in Auth manager. The scenario is -  We will be running the ReadyAPI test cases from CI/CD pipeline and the credentials will be sent as parameters from the pipe line. Those credentials would be used to get the OAuth token through the automation script 

 

Any input is much appreciated

  • I am planning to send credentials from CICD pipeline. Those credentials need to be sent to the Azure Authentication prompt that appears when we get the access token (OAuth2.0). How can i do that? Right now the credentials are are being hard coded and the automation script within the Auth Manager passes these credentials to the REady API browser prompts.