Our company use many API that must be authenticated via SSO. The authentication flow should be:
1. User Login to SSO page of WEB app
2. User got cookies stored
3. Inside WEB app there are some API that use Cookies for authentication.
We want to scan the API separately from the Web App, there we found that we can use Selenium to guide browser each steps to login and get cookies. But we are not sure that we can write Selenium script inside Authentication Script. Do you guys have any guideline for this part?