# Failed to authorize: \[error: null, description: Invalid ID Token\]

**URL:** <https://community.auth0.com/t/failed-to-authorize-error-null-description-invalid-id-token/94816>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [November 21, 2022, 8:41am UTC](https://community.auth0.com/t/failed-to-authorize-error-null-description-invalid-id-token/94816 "2022-11-21T08:41:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dikynugraha](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dikynugraha/32/37475_2.png) [@dikynugraha](https://community.auth0.com/u/dikynugraha)\
**Post date:** [November 21, 2022, 8:41am UTC](https://community.auth0.com/t/failed-to-authorize-error-null-description-invalid-id-token/94816/1 "2022-11-21T08:41:50Z")

</div>

i have a problem with a login feature.  
yesterday, the feature workly fine and no error detected.

But, now i have a error when trying to login with auth0.  
The error message is :  
`Exception: Failed to authorize: [error: null, description: Invalid ID Token]`

```auto
This for function i used to authorization :
 final request = AuthorizationTokenRequest(
        _configuration.clientId,
        _configuration.redirectUrl,
        issuer: _configuration.issuer,
        additionalParameters: {"audience": _configuration.additionalAudience},
        promptValues: ["login"],
        scopes: _configuration.scopes,
      );
      final authorizationTokenResponse =
          await _appAuth.authorizeAndExchangeCode(request);

```

I dont change anything in auth0 configuration both on local and server.  
FYI, i used flutter

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 29, 2022, 7:24pm UTC](https://community.auth0.com/t/failed-to-authorize-error-null-description-invalid-id-token/94816/3 "2022-11-29T19:24:29Z")

</div>

Hi @dikynugraha,

Welcome to the Auth0 Community!

I am not seeing any other mentions of that error. Is there any other information you can give us?

- Do you see another error code and message from the server?
- What SDK and version?
- What does the outgoing request and response look like?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 30, 2023, 9:36pm UTC](https://community.auth0.com/t/failed-to-authorize-error-null-description-invalid-id-token/94816/4 "2023-01-30T21:36:56Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
