GMoncrieff / saeonobsr

An R package to query available datasets and download selected datasets from the SAEON observations database
MIT License
1 stars 1 forks source link

Problem with generating API key using link #5

Open Brishan200 opened 1 year ago

Brishan200 commented 1 year ago

I have created an account on the SAEON data portal and have been able to generate an API key when going through the online talk. But trying to generate one new due to the old key expiring and it is not working out. Once I have logged in and clicked on the link ( https://observations.saeon.ac.za/account/token) the token is shown as a "null". I am not sure if I am doing something wrong or if I am missing something.

Lenticular commented 1 year ago

I had a similar issue, but can't replicate it, so what follows is speculative, but hopefully useful. It seems to have something to do with log in timeout on the web page; it sometimes seems not to tell you you've been timed out until you attempt a task that requires permissions. One such task is requesting a token; when you're not logged in that seems to return null. Even when logging in, though, the token remains null. Clearing some cookies appears to have circumvented that.

Lenticular commented 1 year ago

Timeout is less than an hour, it seems?