Skip to content

Initial authorization enlighten #6

@erdebe

Description

@erdebe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions