Powered by Invision Power Board


Pages: (6) [1] 2 3 ... Last » ( Go to first unread post ) Reply to this topicStart new topicStart Poll

> Access Tokens expire in 60 days, Starting May 18th
clydeGC Profile
Posted: April 30, 2015 11:48 am
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



Just in from Groundspeak

QUOTE
Greetings from Geocaching HQ,

Beginning on Monday, May 18th, 2015, Geocaching.com will begin expiring all API access tokens older than 60 days.

Developers should expect an error of "Not Authorized" to be returned by the authorization service indicating invalid credentials if an expired token is used after the fact, and the user will need to re-authorize to continue using the service.

Please let us know at apihelp@geocaching.com if you have any questions.

Thank you,

Nate


Nate Irish
Product Manager
PMEmail PosterUsers Website
Top
hynrGC Profile
Posted: April 30, 2015 12:26 pm
Quote Post


Advanced
****

Group: Member
Posts: 4082
Member No.: 123
Joined: December 28, 2005



Am I understanding this correctly that on May 18 the vast majority of GSAK users will find that their access to the API is disrupted?

And not just GSAK but also all apps on smartphones?

This is by design?
PMEmail Poster
Top
TheWinterTrioGC Profile
Posted: April 30, 2015 01:16 pm
Quote Post


Experienced
***

Group: Member
Posts: 951
Member No.: 15510
Joined: September 06, 2010



Hmm.. Does this mean EVERY 60 days? (That's what I would assume from the text.)

-Stephen
PMEmail Poster
Top
sbeelisGC Profile
Posted: April 30, 2015 01:20 pm
Quote Post


Advanced
****

Group: Member
Posts: 3227
Member No.: 20034
Joined: June 30, 2011



QUOTE (hynr @ April 30, 2015 05:26 am)
Am I understanding this correctly that on May 18 the vast majority of GSAK users will find that their access to the API is disrupted?

And not just GSAK but also all apps on smartphones?

This is by design?

And not just once, but every 60 days.

While this will be an inconvenience, I can see where they are coming from. Many systems have password ageing or cookie expiry dates, so you need to re-login (or even change passwords) every once in a while.

So far, the token system needed explicit revoking of a token which meant that in theory, you might authorize a third party app/web site to have access to your gc.com account, then after a short tested decide it wasn't for you and if you didn't explicitely revoke the authorization, that token would stay valid indefinitely.

This change will make sure any unused tokens will expire after 60 days.

From a user experience point of view, this is annoying, from a security point of view it is long overdue.

I haven't yet made up my mind which pov has more weight for me ;-)

Edit: x-post with TheWinterTrio

This post has been edited by sbeelis on April 30, 2015 01:20 pm


--------------------
"Change is inevitable, except from a vending machine." R.C.Gallagher
PMEmail Poster
Top
BushfireGC Profile
Posted: April 30, 2015 03:23 pm
Quote Post


Beginner
*

Group: Member
Posts: 9
Member No.: 17690
Joined: February 28, 2011



So does this mean the all members must log out of geocaching.com and then log in again !!!! ohmy.gif ohmy.gif rolleyes.gif
PMEmail Poster
Top
Muddy_PuddlesGC Profile
Posted: April 30, 2015 05:00 pm
Quote Post


Beginner
*

Group: Member
Posts: 18
Member No.: 33615
Joined: January 14, 2013



OK a slight inconvenience for GSAK as you need to click a couple of buttons to get a new access token 6 times a year, which I do far more regularly anyway while uploading caches from my GPSr.

Might be more of an issue for mobile app users but at least it's still free (oops, let's not give them ideas).
PMEmail Poster
Top
DifoolGC Profile
Posted: April 30, 2015 05:24 pm
Quote Post


Advanced
****

Group: Member
Posts: 1428
Member No.: 7966
Joined: June 11, 2008



QUOTE (Muddy_Puddles @ April 30, 2015 10:00 am)
OK a slight inconvenience for GSAK as you need to click a couple of buttons to get a new access token 6 times a year, which I do far more regularly anyway while uploading caches from my GPSr.

Might be more of an issue for mobile app users but at least it's still free (oops, let's not give them ideas).

The greater inconvenience are for those who got Access tokens for more than one account in GSAK, but I agree with sbeelis the security aspect of the decision is probably sound.
PMEmail Poster
Top
W8TTSGC Profile
Posted: April 30, 2015 05:48 pm
Quote Post


Advanced
****

Group: Member
Posts: 1603
Member No.: 4820
Joined: May 31, 2007



I could see this being done for tokens not used for 60 days, but active tokens. My bank doesn't even force me to change passwords that often.


--------------------
Don't meddle in the affairs of Dragons,
for you are crunchy and good with ketchup.

PMEmail Poster
Top
clydeGC Profile
Posted: April 30, 2015 06:25 pm
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



QUOTE (Bushfire @ April 30, 2015 03:23 pm)
So does this mean the all members must log out of geocaching.com and then log in again !!!! ohmy.gif  ohmy.gif  rolleyes.gif

You shouldn't have to log out of Geocaching.com (but make sure you have installed the latest patch), but you need to fetch another token. Doing so will bring up the Groundspeak dialog asking you to Authorize the use of the api, which in tern will ask you for your log in details.
PMEmail PosterUsers Website
Top
HHLGC Profile
Posted: April 30, 2015 07:33 pm
Quote Post


Advanced
****

Group: Member
Posts: 3763
Member No.: 60
Joined: December 26, 2005



QUOTE (clyde @ April 30, 2015 12:25 pm)
[...] will bring up the Groundspeak dialog asking you to Authorize the use of the api, which in tern will ask you for your log in details.

Could this (fill in my account details) be done by GSAK itself?

Hans

This post has been edited by HHL on April 30, 2015 07:34 pm


--------------------
PM
Top
sbeelisGC Profile
Posted: April 30, 2015 08:33 pm
Quote Post


Advanced
****

Group: Member
Posts: 3227
Member No.: 20034
Joined: June 30, 2011



QUOTE (HHL @ April 30, 2015 12:33 pm)
QUOTE (clyde @ April 30, 2015 12:25 pm)
[...] will bring up the Groundspeak dialog asking you to Authorize the use of the api, which in tern will ask you for your log in details.

Could this (fill in my account details) be done by GSAK itself?

It might be feasible from a technical point of view, but it would defeat the whole purpose of OAuth authorisation, where a third party application (in this case GSAK) can identify itself against groundspeak as "you" without the need to know your password.


--------------------
"Change is inevitable, except from a vending machine." R.C.Gallagher
PMEmail Poster
Top
sbeelisGC Profile
Posted: April 30, 2015 08:35 pm
Quote Post


Advanced
****

Group: Member
Posts: 3227
Member No.: 20034
Joined: June 30, 2011



QUOTE (W8TTS @ April 30, 2015 10:48 am)
I could see this being done for tokens not used for 60 days, but active tokens.

Actually, that would be a good compromise to discard stale tokens without inconveniencing regular users of an app.


--------------------
"Change is inevitable, except from a vending machine." R.C.Gallagher
PMEmail Poster
Top
W8TTSGC Profile
Posted: April 30, 2015 09:21 pm
Quote Post


Advanced
****

Group: Member
Posts: 1603
Member No.: 4820
Joined: May 31, 2007



QUOTE (sbeelis @ April 30, 2015 08:35 am)
QUOTE (W8TTS @ April 30, 2015 10:48 am)
I could see this being done for tokens not used for 60 days, but active tokens.

Actually, that would be a good compromise to discard stale tokens without inconveniencing regular users of an app.

Drop them an eamil at <apihelp@geocaching.com>, and tell them that. I did. It may not do any good, but if they hear from enough regular users, it may cause to frog to jump.


--------------------
Don't meddle in the affairs of Dragons,
for you are crunchy and good with ketchup.

PMEmail Poster
Top
W8TTSGC Profile
Posted: May 01, 2015 01:53 am
Quote Post


Advanced
****

Group: Member
Posts: 1603
Member No.: 4820
Joined: May 31, 2007



Here's what I got back from GC.com (David Patterson <davidp@geocaching.com>)
QUOTE
Hi Ted. Yes, starting May 18th we'll be expiring user tokens 60-days after
they were issued. We understand that this may introduce a small amount of
inconvenience to the user but we're taking this necessary step to help
protect their accounts and geocaching data.

What a pain. They're worse then my bank, or PayPal, or anyone else. I can't think of anyone else that forces you to do something like this. Kind of over kill.


--------------------
Don't meddle in the affairs of Dragons,
for you are crunchy and good with ketchup.

PMEmail Poster
Top
jhollyGC Profile
Posted: May 01, 2015 04:01 am
Quote Post


Advanced
****

Group: Member
Posts: 2984
Member No.: 5063
Joined: June 16, 2007



I predict the number of posts regarding API errors will take a large up turn after the 18th. I bet you the GS apps will not be affected.


--------------------
It's Geocaching son, you just have to know.
PMEmail Poster
Top
Kai TeamGC Profile
Posted: May 01, 2015 05:24 am
Quote Post


Zen Master
*****

Group: Admin
Posts: 28103
Member No.: 90
Joined: December 27, 2005



QUOTE (jholly @ April 30, 2015 04:01 pm)
I predict the number of posts regarding API errors will take a large up turn after the 18th. I bet you the GS apps will not be affected.

Hopefully the feature that Clyde added to GSAK 8.5.1.17 will help:

user posted image

However, we know that not all users update to the latest patch and that not all users read the messages that pop up, so I fear you are correct that the support load will increase. sad.gif

I also noticed that if you revoke your access token (to simulate an expired token) and attempt a multistep API action (e.g. Get Recent Logs on multiple caches), you get this error for every API call even after you've reauthorized GSAK, which is likely to make users think things are still broken. If you terminate the current API action and start again, everything works fine.

Clyde - is it possible that GSAK is not using the correct (new) token in this scenario (i.e. when you start a series of API calls with a bad token and grab a new token mid stream)?


--------------------
Volunteer GSAK Forums Administrator

Helpful links:

GSAK Tutorials: Click Here.
FAQ: Click Here.
How to Search the Forums: Click Here.
Macro Index: Click Here.
PMEmail Poster
Top
Big WolfGC Profile
Posted: May 01, 2015 06:13 am
Quote Post


Experienced
***

Group: Member
Posts: 994
Member No.: 388
Joined: January 20, 2006



Have emailed api help address as suggested. The thing that is going to hack me off is that I've 3 instances of GSAK and 2 android apps on a tabled and phone so looks like I'm going to be requesting a new token every 12 days . . . . .

I suspect that there is more to this than the email from Nate alludes to......

This post has been edited by Big Wolf on May 01, 2015 07:05 am
PMEmail PosterUsers Website
Top
KnightymeGC Profile
Posted: May 01, 2015 06:37 am
Quote Post


Beginner
*

Group: Member
Posts: 1
Member No.: 58362
Joined: May 01, 2015



QUOTE (Big Wolf @ May 01, 2015 06:13 am)
Have emailed api help address as suggested.  The thing that is going to hack me off is that I've 3 instances of GSAK and 2 android apps on a tabled and phone so looks like I'm going to be requesting a new token every 12 days . . . . .

not exactly a well thought out plan....


If I read this correctly *all* tokens older than 60 days will become invalid on the same day, so it will be all your copies all on the same day, assuming they are all older than 2 months, starting on May 18th, then every 60 days there after.

Or you could manually redo all tokens on the same day so it is only a once every 2 month thing for you.

This post has been edited by Knightyme on May 01, 2015 06:40 am
PMEmail Poster
Top
Big WolfGC Profile
Posted: May 01, 2015 07:04 am
Quote Post


Experienced
***

Group: Member
Posts: 994
Member No.: 388
Joined: January 20, 2006



QUOTE (Knightyme @ April 30, 2015 11:37 pm)
Or you could manually redo all tokens on the same day so it is only a once every 2 month thing for you.

Think that is going to be the solution
PMEmail PosterUsers Website
Top
Red RooGC Profile
Posted: May 01, 2015 08:11 am
Quote Post


Advanced
****

Group: Member
Posts: 1978
Member No.: 198
Joined: January 05, 2006



QUOTE (Knightyme @ May 01, 2015 06:37 am)
If I read this correctly *all* tokens older than 60 days will become invalid on the same day, so it will be all your copies all on the same day, assuming they are all older than 2 months, starting on May 18th, then every 60 days there after.

Because this change will cause some Macros to crash unexpectedly, it would be good if Clyde could code a way of tracking Token age and alerting the user at startup and ideally also, a macro function that returns the number of days left for the current Token.
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic OptionsPages: (6) [1] 2 3 ... Last » Reply to this topic Fast ReplyStart new topicStart Poll


 



[ Script Execution time: 0.0189 ]   [ 11 queries used ]   [ GZIP Enabled ]