Is there a way to access swagger and/or client-app without redirecting to login page for authentication

Hi Team,
I’m using an openEMR 7.0.1. I have registered a client-app using openEMR swagger URLs and able successfully authorize the swagger URLs.
My question is when I am trying to authorize the Swagger endpoint by providing client-id, client-secret and scopes, it redirects login page for authorizing.
Is there any way to skip the external authorizing, I am expecting to authorize the app based on the details provided without asking for external authorization (login page)?

And I have also observed the same when launching the client-app within the EHR. This is not the case with other EHRs. So is there are way to skip additional authorization when the app is launched within the EHR Context?

Any ideas are appreciated. Thanks.