You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: If a user were to run a Planet API (i.e., planet orders download my-order-id) without first running planet auth init, it would throw an error.
Proposal: Have the authentication API run in the background the first time a user queries a Planet API.
For instance, have the client recognize that the user hasn't run planet auth init, the prompt for them for their credentials (i.e., email and password).
Alternative: If the user hasn't run planet auth init before running a Planet API, have the client echo back a useful error message such as: “User’s credentials (Planet login email & password) must be provided to run Planet APIs. Run planet auth init to initialize your Planet client.".