Skip to content

Javascript Web App Sample fails with auth errors #90

@MaxWilson

Description

@MaxWilson

I cloned the repo, ran NPM, created an app ID as described, and ran the app. Login completes successfully. However, when I click the "Call DevOps Rest API" button, nothing happens except an error in my chrome Windows that says:

ServerError: invalid_client: AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: [redacted]. Resource value from request: 499b84ac-1321-427f-aa17-267ca6975798. Resource app ID: 499b84ac-1321-427f-aa17-267ca6975798. List of valid resources from app registration: 00000003-0000-0000-c000-000000000000.
Trace ID: c9a71cf7-bc64-446e-80f0-b9dc47c35600
Correlation ID: ca198b06-4d06-4d45-8dfa-835540dd27ea
Timestamp: 2022-04-22 20:18:07Z

Is there a missing documentation step where I'm supposed to grant my app permissions to access resource 499b84ac-1321-427f-aa17-267ca6975798? How would I do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions