I created 3 new users in my g-suite account and I am using a service account to access calendars and events, but these 3 new users cannot see their calendars if I can create events for them forgive me my English I am not a native speaker
NOTE: new users I already added in the calendar part the permissions of that service account
Related
I have a expo android app and react web app. Both the app uses phone authentication from firebase. When creating a new user, stripe extension creates a new user in stripe simultaneously. The issue is my customer logs primarily in android app and not in web app. Now I need to create a subscription for new user with a trial period. After the trail period I can ask my customer to pay the subscription from web app. How can I create new subscription with trial period from firebase function when a new user is created? Or is it possible to create subscription automatically for all new users with a particular subscription product and trial period without payment information?
Here is how to create Subscription with trial period. No payment method is required for the customer, but until the trail ends you will need to collect their payment info. Stripe has a Doc explains this scenario.
My app supports only login via Email/Password, Google, and Facebook using Firebase Authentication.
Inside the Authentication -> Settings tab, Firebase said to me "Upgrade to Firebase Auth with Identity platform to access this feature."
I upgraded successfully because I want to disable create a new account on the client side and disable delete account. These features are only what I want.
If you interested to know why I want to disable creating a new account on the client side? Please check my question here to know why.
Today I opened Firebase Pricing and I found there are changes in Firebase Authentication, Firebase added 2 new rows in the last as you can see.
I was not charged in Phone verifications because I don't use this provider. I only charged for Firebase Realtime Database and Firebase Storage.
Here are my questions:
Identity Platform Pricing Monthly active users (excluding SAML/OIDC) => If there were 83,000 daily active users (83,000 * 30 = 2,490,000), At the end of the month how much I'll be charged approximately?
Monthly active users - SAML/OIDC => As I said above my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?
I hope everything is clear. Thank you.
If you have 83K monthly active users then you won't be charged for 50K users as it falls in the free tier. But you'll be charged for the next 33K users as per the pricing mentioned in Google Cloud Documentation:
From the documentation,
Any account that has signed in within a given month is considered an active user. Inactive users are stored at no cost.
For the given example, you bill would be:
0.0055*33000 = $181.5 / month
my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?
Yes, if you are not using SAML/OIDC (Tier 2 providers) then you'll be charged based on Tier 1 pricing mentioned above only.
If you use any Tier 2 provider then you only have up to 50 free MAU and $0.015 / MAU / month thereafter.
I am new to using / creating IAM accounts. I want to write a service that will add events to my google calendar for me. To do this it is my understanding that I need a service account.
But how do I lock this user down to just being able to create calendar events? I looked through the roles and conditions but I don't see anything specific to calendar.
What role and conditions should I set to limit this service account to just adding events?
https://support.google.com/a/answer/7378726?hl=en
Please follow the guide mentioned in above link to setup your service account. You can skip step 3 because you need service account instead of implementing OAuth consent screen to authenticate the account.
You may need G-Suit account if you get any trouble with setting up service account with your public gmail account.
You also need to enable Google calendar apis from library while setting up service account using above link. Otherwise you won't be able to access calendar apis.
After you setup up account accordingly, you need to follow the quick start guide according to your development platform. First you need to implement auth method where you will pass your service account keys to authenticate the account. And then you can call calendar apis using those auth credentials. You also need to define the scope in the auth method
Here are the available scopes of calendar apis
https://developers.google.com/calendar/api/guides/auth
In this link, there are some quick starts available in the left menu. You can pick one according to your need and start implementing it in your app.
I am currently using access and refresh tokens to pull data from the Google Analytics Reporting API (v4). As I work to automate the extraction of data from Google Analytics, I hope to shift to using a Service Account. My question is does the Service Account have to be created from the Google profile that hosts the Google Analytics Account?
Anyone can create the service account but in order for the service account to have access to the analytics data you must take the service account email address and add it as a user in the Google analytics admin section at the account level then it will be able to read the data.
So as long as you know someone with admin access to the google analytics account it doesnt matter who creates the service account.
Since few day I am trying to get user profile with my C# using Using OAuth 2.0 for Server to Server Applications with JWT.
For google drive i know that we can use server to server method, but i am not sure for Google Analytics. Can we use it ?
Yes you can!
Service Accounts
Useful for automated/offline/scheduled access to Google Analytics data for your own account. For example, to build a live dashboard of your own Google Analytics data and share it with other users.
There are a few steps you need to follow to configure service accounts to work with Google Analytics:
1. Register a project in the APIs Console.
2. In the Google APIs Console, under the API Access pane, create a client ID with the Application Type set to Service Account.
3. Sign-in to Google Analytics and navigate to the Admin section.
4. Select the account for which you want the application to have access to.
5. Add the email address, from the Client ID created in the APIs Console from step #2, as a user of the selected Google Analytics account.
6. Follow the instructions for Service Accounts to access Google Analytics data.
Source: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtAuthorization
Not yet. See Service Accounts have arrived.
Service accounts are currently supported by the following Google developer services:
Google Cloud Storage
Google Prediction API
Google URL Shortener
Google OAuth 2.0 Authorization Server
Google APIs Console
Google APIs Client Libraries for Python, Java, and PHP
Over time, more Google APIs and client libraries will be supported.
Sign up for Google Developers Blog and the Analytics Blog feeds. They will post when GA is opened to service accounts, if it ever is.