- Your Name
- Your email account
- The Product team you are working with
- Name
- Email address
- Company
- Database access required
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
b2cauthority = "https://a365dev.b2clogin.com/tfp/a365dev.onmicrosoft.com/B2C_1A_ANSYSID_SIGNUP_SIGNIN";
clientId = "28982bbf-f354-4e48-8bfb-e542d44c588c";
scope = "https://a365dev.onmicrosoft.com/AnsysID/Authentication";
redirectURI = "http://localhost:32284";
Authorization: Bearer TOKEN
python -m pip install msal
ansys_id_client_id = "63377600-f6ce-4c19-9c0e-a7278d7bde8c"
ansys_id_authority = "https://a365dev.b2clogin.com/a365dev.onmicrosoft.com/B2C_1A_ANSYSID_SIGNUP_SIGNIN"
scope = "https://a365dev.onmicrosoft.com/AnsysID/Authentication"
# Use Microsoft Authentication Library (MSAL) to log in using the system browser
token_resp = msal.PublicClientApplication(ansys_id_client_id, authority=ansys_id_authority).acquire_token_interactive(scopes=[scope], port=32284)
# Store the token from logging in for use in subsequent HTTP requests
auth_header = {"Authorization": f"Bearer {token_resp['access_token']}"}
Was this page helpful?