Skip to content

Assertion failed signature validation when trying to acquire a token to issue REST calls to dev ops on behalf of a user #470

Answered by KanishkaB
flixman asked this question in Q&A
Discussion options

You must be logged in to vote

@flixman - You have a python web app that needs to access the azure dev ops API. You have deployed this app on azure app service and are currently using the built in authentication feature of App Service aka EasyAuth.
The value of the access token generated from EasyAuth is actually an "authentication code" and when the resource is set, the EasyAuth module exchanges this “authentication code” at the /token endpoint of the Azure Active Directory, to get an access token. We ran couple of tests at your end and figured out that the scope - user_impersonation was not set at the resource level.

Work Around - To achieve this we need to set the resource using the Azure Resource Explorer.

  1. Navigat…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@bryanidsts
Comment options

@rayluo
Comment options

@meyerovb
Comment options

@rayluo
Comment options

@bryanidsts
Comment options

Answer selected by rayluo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
5 participants
Converted from issue

This discussion was converted from issue #468 on May 09, 2022 18:21.