-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hallo Daniel,
I made kind of same system for accessing enlighten api v4.
It is possible to renew the initial authorization of the app (get new acccess /refresh token). I contacted enlighten support about why this was needed: got no response. It is clear that enlighten api is developed for apps that regurly access enlighten api....
I made a selenium script to login into enlighten and permit app access and get new access token. I was not clever enough to do this in a straight forward way. Should however be possible with some authorization magic (cookies).
I needed to add timestamp book keeping of access/refresh tokens to create new access token when refresh token is expired.
I doubt if my selenium method should be published. What is your opinion about trying to develop a script that uses user credentials to create new access token using some advanced authorization script?
Groeten,
Ronald