Score:1

OAuth Token Rate

za flag

I would like to confirm the token grant rate for Oauth authentication. Since the token grant rate is limited to 100 times / minute, will it be limited to the grant rate if one tenant tries to obtain tokens for 100 users or more? The following is a supplement Currently, we are considering using a script to obtain tokens for a large number of users and using Dovecot's proxy function to access Gmail. I'm thinking of getting tokens automatically every 30 to 60 minutes from the expiration date of the token. However, I am concerned that I will be limited to the token grant rate. Ultimately, we are assuming the use of about 10,000 users, and if it is 100 cases / minute, we are concerned that it will take 100 minutes to connect.

Score:1
cn flag

I am assuming that your application has been approved (verified). If not, review this link first.

Google OAuth access tokens are valid for 3,600 seconds. On the first authorization request, request a refresh token and save it (typically in a database). The refresh token is valid for a longer period of time (days but is not a constant). The refresh token does expire and can be revoked for a number of reasons. Once an access token expires, request a new access token using the refresh token. Once a refresh token expires or is revoked, the user must authenticate again.

By following that design, you will minimize requesting tokens. In your case, you can request an OAuth Quota increase.

Gmail: Implementing Server-Side Authorization

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.