Google CardDAV API Authentication -
is there way authenticate accounts' contacts saved token? in research looks have create new token having user login , give consent.
thank you,
brandon
yes, there is.
make sure include access_type=offline
in authentication request. after user gives app permission first time refresh token
present in response. if save it, can use later new access token
every time need it. no consent screen shown.
although can craft own auth mechanism, google provides nice set of client libraries, work (exchanging refresh token access token, getting new refresh token after has expired, ...).
Comments
Post a Comment