How to use Cognito's identity_provider parameter?

I have better-auth configured in my Next.js app with Amazon Cognito and trying to send the user directly to Google sign in screen when clicking "Sign In" on my website. I would usually just add identity_provider=Google on Cognito's authorize URL. In NextAuth I found this. Is there a way to do that with better-auth?
Stack Overflow
Project details

Next JS (version 14)
AWS Cognito (Google & Facebook sign-in integrated)

Regular login is handled inside my application, with the help of aws sdks
For google & facebook sig...
Was this page helpful?