Barbapapazes / gavarnie

SaaS - Pre-configured and ready-to-use features to help you start your full-stack NuxtHub project faster.
https://gavarnie.barbapapazes.dev
MIT License
136 stars 12 forks source link

Add Google OAuth Provider #15

Open roiLeo opened 2 months ago

roiLeo commented 2 months ago

Implement login/signup with google provider

Barbapapazes commented 2 months ago

Hey!

I would love but this will require me to have a validated Google OAuth app which is very complicated.

I need to write Terms and Privacy but I don't have time to do it.

Feel free to open an PR with Terms and Privacy!

But adding the Google OAuth shouldn't be more complicated than the GitHub or Twitch one!

LouisDeconinck commented 2 months ago

Something like this should work.

Privacy Policy

Effective Date: [Insert Date]

  1. Introduction

Welcome to [Your Company Name] ("we," "our," or "us"). We are committed to protecting your privacy and ensuring you have a positive experience on our website and in using our products and services.

This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use Google OAuth to access our services. Please read this policy carefully. If you do not agree with the terms of this Privacy Policy, please do not access our services.

  1. Information We Collect

When you use Google OAuth to sign in to our service, we collect the following information from your Google account, depending on the permissions you grant:

Basic Profile Information: This includes your name, email address, profile picture, and language preference. Google User ID: A unique identifier provided by Google to manage your account. Other Information: Any other information you choose to share with us through your Google account.

  1. How We Use Your Information

We use the information we collect through Google OAuth for the following purposes:

Authentication: To verify your identity and allow you to access our services. Personalization: To provide a more personalized experience based on your profile information. Communication: To send you updates, notifications, and other relevant information about our services. Service Improvement: To analyze how users interact with our services and improve them.

  1. Sharing Your Information

We do not sell, trade, or otherwise transfer your personal information to outside parties, except as described in this Privacy Policy. We may share your information in the following situations:

Service Providers: We may share your information with third-party vendors and service providers who perform services on our behalf, such as hosting, data analysis, and customer service. Legal Requirements: We may disclose your information if required to do so by law or in response to valid requests by public authorities (e.g., a court or government agency). Business Transfers: In the event of a merger, acquisition, or sale of all or a portion of our assets, your information may be transferred as part of that transaction.

  1. Data Security

We use administrative, technical, and physical security measures to protect your personal information. While we strive to protect your information, we cannot guarantee its absolute security.

  1. Your Choices

Access and Update: You can access and update your personal information through your account settings. Revoke Access: You can revoke our access to your Google account at any time through your Google account settings. Data Deletion: If you wish to delete your account and the associated data, please contact us at [Contact Information].

  1. Third-Party Links

Our service may contain links to third-party websites or services. We are not responsible for the privacy practices or content of these third parties.

  1. Changes to This Privacy Policy

We may update this Privacy Policy from time to time. We will notify you of any changes by updating the "Effective Date" at the top of this policy. We encourage you to review this Privacy Policy periodically to stay informed about how we are protecting your information.

  1. Contact Us

If you have any questions about this Privacy Policy or our practices, please contact us at:

[Your Company Name] [Your Address] [Your Email Address] [Your Phone Number]

GreenmeisterDavid commented 1 month ago

@Barbapapazes is the above something we can work with?

I prepared the necessary code additions already in this branche here; https://github.com/GreenmeisterDavid/gavarnie-fix-github-login/tree/add-google-oauth , but haven't added a privacy policy or terms yet.

Barbapapazes commented 1 month ago

@Barbapapazes is the above something we can work with?

I prepared the necessary code additions already in this branche here; GreenmeisterDavid/gavarnie-fix-github-login@add-google-oauth , but haven't added a privacy policy or terms yet.

Hey @GreenmeisterDavid 👋,

Thanks! I will add some terms and privacy to Gavarnie as I had to make some for https://soubiran.dev. Then, I will request Google to approve the app. In the mean time, feel free to open a draft PR!