How to use a Custom Google authentication service ?

Hello all!

I implemented my own google authentication service and it is working fine usnig the google Chrome or insomnia. The flow is shown as ilustrated below:


However, when I am testing using my flutterflow app I receive an error:
Access to fetch at 'https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&prompt=consent&response_type=code&redirect_uri=https%...' (redirected from 'https://auth.myservice.dev/auth/google') from origin 'https://myapp.flutterflow.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Can someone offer some help?

3
4 replies