I implemented swagger YAML file for generating the documentation for my rest API's. I could able to generate and run my API's successfully which are not involving OAuth2 Authorization. But the API's which are about to authorized through OAuth2 authentication grant type are failing to authorize and am getting the below error of
"Auth Error type Error: Failed to fetch".
I used the security schema inside my swagger yaml files as