Skip to content

Expecting access token to be JWT v2 but got v1 #426

@raqsilva

Description

@raqsilva

Hello,

Background:
msal version = "1.15.0"
python version = "3.8.12"

Authority = "https://login.microsoftonline.com/{tenant_id}/v2.0"

I have changed my app manifest var "accessTokenAcceptedVersion": 2.
My app is a confidential client application using default scopes and I'm getting my access token through acquire_token_by_auth_code_flow which gives me an access token v1 and id token v2.

How can I make sure I always get a v2 token?

Thanks,
Raquel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions