0
votes

I need to authenticate the users api for the google workspace without the popup window open and click on my gmail account is there any way to do that just with the api key or client and secret.

1

1 Answers

0
votes

I don't think that's possible because the OAuth consent screen is a native security feature for API access to certain scopes (Specially restricted scopes). This will always happen when there is a user interaction Consent Screen.

That said, the only way to avoid that may be using a service account depending on what you are trying to do.