bitcoin
bitcoin

$82105.423623 USD

1.53%

ethereum
ethereum

$2450.135255 USD

3.92%

tether
tether

$0.998720 USD

-0.01%

bnb
bnb

$730.284647 USD

1.87%

xrp
xrp

$1.339614 USD

2.68%

usd-coin
usd-coin

$0.999856 USD

-0.01%

solana
solana

$106.273474 USD

4.10%

tron
tron

$0.333992 USD

0.92%

zcash
zcash

$1226.171121 USD

12.26%

hyperliquid
hyperliquid

$81.288422 USD

2.19%

dogecoin
dogecoin

$0.082255 USD

3.12%

monero
monero

$560.080824 USD

4.45%

chainlink
chainlink

$12.528568 USD

4.20%

cardano
cardano

$0.230972 USD

5.05%

unus-sed-leo
unus-sed-leo

$9.031004 USD

0.04%

Cryptocurrency News Video

how to get v2 type token using msal python

Nov 06, 2024 at 02:10 am Emrah KAYA

Hello everyone! I hope this video has helped solve your questions and issues. This video is shared because a solution has been found for the question/problem. I create videos for questions that have solutions. If you have any other issues, feel free to reach out to me on Instagram: https://www.instagram.com/ky.emrah Below, you can find the text related to the question/problem. In the video, the question will be presented first, followed by the answers. If the video moves too fast, feel free to pause and review the answers. If you need more detailed information, you can find the necessary sources and links at the bottom of this description. I hope this video has been helpful, and even if it doesn't directly solve your problem, it will guide you to the source of the solution. I'd appreciate it if you like the video and subscribe to my channel!how to get v2 type token using msal python I am trying to get a v2 type token using the msal library for python my code is as in below global_app = msal.ClientApplication( os.getenv('CLIENT_ID'), authority=os.getenv('AUTHORITY'), # For Entra ID or External ID oidc_authority=os.getenv('OIDC_AUTHORITY'), # For External ID with custom domain client_credential=os.getenv('CLIENT_SECRET') or None, # Treat empty string as None token_cache=global_token_cache, # Let this app (re)use an existing token cache. # If absent, ClientApplication will create its own empty token cache ) result = global_app.acquire_token_by_username_password( os.getenv("USERNAME"), password, scopes=scopes) global_app = msal.ClientApplication( os.getenv('CLIENT_ID'), authority=os.getenv('AUTHORITY'), # For Entra ID or External ID oidc_authority=os.getenv('OIDC_AUTHORITY'), # For External ID with custom domain client_credential=os.getenv('CLIENT_SECRET') or None, # Treat empty string as None token_cache=global_token_cache, # Let this app (re)use an existing token cache. # If absent, ClientApplication will create its own empty token cache ) result = global_app.acquire_token_by_username_password( os.getenv("USERNAME"), password, scopes=scopes) Additionally i have tried to set and unset the scopes as User.Read. I have also set the accesstokentype in the Azure manifests to v2. However when i run the above, i still get the token with issuer as https://sts.... which is different from my issue which is of the type https://login.microsoftonline.com/{TENANT} https://login.microsoftonline.com/{TENANT} I need assistance in getting the correct v2 token back Tags: azure,azure-ad-msal,msalSource of the question: https://stackoverflow.com/questions/79024377 Question and source license information: https://meta.stackexchange.com/help/licensing https://stackoverflow.com/
Video source:Youtube

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Other videos published on Oct 17, 2026