GPTS - Actions and Oauth (with google)

I built a GPT with an Action on google calendar APIs, basically to read the events. I set up the oauth correctly but when i try it with the live GPT i get to the auth panel ( as user) and then redirected to the chat but there I get “Couldn’t log in with plugin.” error. How can i solve this