How to do Authentication for all the users of the organization through the same public token for all the users while using Azure Devops API.
Personal access token would not work in my scenario as it's limit is max 1 year.
How to do Authentication for all the users of the organization through the same public token for all the users while using Azure Devops API.
Personal access token would not work in my scenario as it's limit is max 1 year.
Did you want an authentication without a lifespan limit? If so, I think it's impossible.
As far as I know, there are three authentication methods in azure devops : 1.Authenticate access with personal access tokens 2.Authorize access to REST APIs with OAuth 2.0 3.Use SSH key authentication
If you want to use token to authenticate when using rest api, there are only two ways to authenticate: pat and oauth2.0. However, both approaches have lifespan limitations.
In PAT, you need to choose a lifespan for your token.
In OAuth2.0 ,access tokens expire, so you'll also need to refresh the access token if it's expired.