09.03.2021, 15:32
(09.03.2021, 06:54)admin Wrote: After getting the device code you should send periodical requests to https://api.home-connect.com/security/oauth/token until you get a "200 OK" response. This will get you an access_token and a refresh_token. Put both into storage and use the access_token for all normal API calls. Since this token expires in one day you will need a scheduled script that will exchange the refresh_token for a newWhat would be the best practice for getting the scrip mentioned above just to run once? Make an event script, and put the code in memory?
access_token/refresh_token.
Sent fra min SM-G980F via Tapatalk