Registration Secret - Create
Create Alternative Secret for the ADO OAuth App Registration
POST https://vssps.dev.azure.com/_apis/delegatedauth/registrationsecret/{registrationId}?api-version=7.2-preview.2
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
registration
|
path | True |
string (uuid) |
The registration id of the ADO OAuth App Registration |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.2-preview.2' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Name | Description |
---|---|
vso.tokens | Grants the ability to manage delegated authorization tokens to users |
Definitions
JsonWebToken
Name | Type | Description |
---|---|---|
isAuthenticated |
boolean |
|
properties |
object |