api - limit for access tokens -


i'm creating app uses giigle drive api. google's document says there limit access tokens issued per client-user combination. said 15, 20, 50.(i don't know exact number)

but in case, limit of number seems one.

i installed app several android machines. the first machine can access-token , refresh-token @ 1 time. in case of second 1 , after, only access-token can acquired. i.e. no refresh-token.

does know how solve problem or increase number?

==============================================

sep.13 2017

thank "tanaike" kind advice. explanation not good. (because i'm not native english speaker.)

anyway, let me explain again.

here have 3 android phones, #a , #b , #c. , installed app of them.

at first, #a sends request access token google. allow request google account ggg@gmail.com #a can access token , refresh token.

next, #b tries same thing same account ggg@gmail.com. #b can access token no refresh token.

and next, #c tries same thing. #c can access token no refresh token.

in such situation, #a can access token before expired. #b , #c cannot new access token. have wait when access token expired.

that have liked write.

regards,

==============================================

sep.18 2017

thank "tanaike". i've not been able touch subject while, sorry. i've tried "access_type=offline" ..... in fact, i've found had included "access_type=offline" first time.

so mean, after #a gets refresh-token, #b , #c , later machines cannot refresh-token though "access_type=offline". regrettable result. i'd know way how provide refresh token each device.

==============================================

  • when retrieves access token using refresh token, the refresh token not included in response.
  • the refresh token retrieved google oauth2 has no expiration time. until revoke refresh token, can continue use it. expiration time of access token 3600 seconds.
  • for example, retrieves access token using refresh token "a". after this, access token retrieved using refresh token "a" again, soon. this, although have 2 access tokens, both access tokens can used. possible increase access tokens using 1 refresh token repeating this. don't know whether right way google users.

but in case of second 1 , after, access-token can acquired. i.e. no refresh-token.

you have refresh token question. can retrieve access token using it. in situation, if refresh token inside in each machine, can retrieve access token using it.

if misunderstand question, i'm sorry.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -