I'm working on an internal app to download the artifacts and also see the build status.
I would like to avoid basic auth for all the api and only restrict it for login.
So when i login i will use basic auth and fetch access tokens and if there is an access token for my app exist, i will store it locally and use it for rest of the api calls.
If the access token is not there, i'll trigger an api call to create one.
The issue i'm having is the api to get tokens doesn't provide the actual token. Is there an api to get the actual access token using basic auth ?
Thank you in advance,