New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authentication.getAuthToken throwing generic vague error messages #2239
Comments
Hi @alexchaaan, thanks for raising this. Can I know what platform you're seeing these issues on? Is this specific to Teams Classic or Teams Modern? |
Hi @alexchaaan , |
@jekloudaMSFT this is from our logs from some customers, not sure if it's classic or modern but I imagine mostly modern @Vaibhav-MSFT unfortunately this is from our app in prod. here's the code that's logging the errors:
and this is a component thats rendered after the sdk is initialized |
Hello @alexchaaan , |
@Vaibhav-MSFT this works for most users. it for sure works on our own tenant. if the credentials and app registration were wrong, wouldn't it fail every time? |
bump |
We are checking your query with engineering team and let you know once we get any updates from them. Thanks. |
Hi Team,
We were hoping to get more clarity around some of the error messages we're seeing with some authentication.getAuthToken() calls. This is causing our app to have an infinite loader as we're always expecting the jwt token to exist. This call works almost all of the time but we're seeing some errors with some users. Here's a list of some different errors we're seeing:
Error: Error
Error: Get Auth token failed
Error: Error: Invalid authResponse received from msal for resource::api:redacted
Error: Get Auth token failed
Error: Error: Unexpected {"Description":"(pii)","Domain":"com.microsoft.oneauth","ErrorCode":"1001","Message":"An unexpected error occurred.","SystemErrorCode":"1067","Tag":"5fcl8","Type":"OneAuth","additional_query_parameters_count":"1","all_error_tags":"5fcl8","api_error_code":"1067","api_error_context":"(pii)","api_error_tag":"5fcl8","api_name":"AcquireTokenInteractively","api_status_code":"StatusInternal::Unexpected","auth_flow":"Broker","authority_type":"AAD","authorization_type":"Interactive","broker_app_used":"true","client_id":"redacted","correlation_id":"redacted","is_successful":"false","msal_version":"1.1.0+00747db6","original_authority":"https://login.microsoftonline.com/redacted","request_duration":"1584","request_eligible_for_broker":"true","start_time":"2024-03-27T20:36:45.000Z","stop_time":"2024-03-27T20:36:47.000Z","ui_event_count":"1","was_request_throttled":"false"}
Error: Error: Unexpected {"Description":"(pii)","Domain":"com.microsoft.oneauth","ErrorCode":"1001","Message":"An unexpected error occurred.","SystemErrorCode":"3400073241","Tag":"5fcl9","Type":"OneAuth","additional_query_parameters_count":"1","all_error_tags":"5fcl9","api_error_code":"3400073241","api_error_context":"(pii)","api_error_tag":"5fcl9","api_name":"AcquireTokenInteractively","api_status_code":"StatusInternal::Unexpected","auth_flow":"Broker","authority_type":"AAD","authorization_type":"Interactive","broker_app_used":"true","client_id":"redacted","correlation_id":"redacted","is_successful":"false","msal_version":"1.1.0+00747db6","original_authority":"https://login.microsoftonline.com/redacted","request_duration":"75887","request_eligible_for_broker":"true","start_time":"2024-03-28T14:21:48.000Z","stop_time":"2024-03-28T14:23:04.000Z","ui_event_count":"1","wam_telemetry":"{\"ui_visible\":true,\"scope\":\"api://redacted/.default offline_access openid profile","redirect_uri":"ms-appx-web://…
Error: CancelledByUser
Error: Error: ApiContractViolation {"Description":"Embedded browser flow resulted in 'invalid_client' with description '(pii)'","Domain":"com.microsoft.oneauth","ErrorCode":"2400","Message":"The operation attempted is invalid.",
The text was updated successfully, but these errors were encountered: