Any workers example / template that can only allow Google user of e.g. [email protected] to access the program?

Any workers example / template that can only allow Google user of e.g. [email protected] to access the program?

I would like to write a password script that only authorized users can have access to etc.

Is it better to develop here or write as a cloudflare app? I prefer using Google username sign in to authenticate user while only allow specific user accounts to have access to the program.

Are you trying to use Google OAuth to authenticate your users? If so, then your best bet would be to get help in a JavaScript forum.

An easier way here would to use Access, but that can get expensive if it’s for more than five users.

https://developers.cloudflare.com/access/

sounds very good “Cloudflare Access” BUT do we hv other alternatives? because i would like to also allow access to paid customers. just that US$3 additional overhead doesnt seem like a very attractive thing to new customers to pay just for accessing some simple apps