-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
When trying to modify settings for login, after attempting the login the settings are reverted and the login fails as Unauthorized:
In [1]: token="<<redacted>>"
In [2]: from balena import Balena
In [3]: balena = Balena()
In [4]: balena.settings.get('pine_endpoint')
Out[4]: 'https://api.balena-staging.com/v5/'
In [5]: balena.settings.set('pine_endpoint', 'https://api.balena-cloud.com/v5/')
In [6]: balena.settings.get('pine_endpoint')
Out[6]: 'https://api.balena-cloud.com/v5/'
In [7]: balena.auth.login_with_token(token)
In [8]: balena.settings.get('pine_endpoint')
Out[8]: 'https://api.balena-staging.com/v5/'Metadata
Metadata
Assignees
Labels
No labels