# Is \`SecureCredentialsManager.awaitCredentials()\` thread-safe?

**URL:** <https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689>\
**Category:** Get Help\
**Tags:** platform-infrastructure, general-architecture-question\
**Created:** [August 28, 2023, 10:33pm UTC](https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689 "2023-08-28T22:33:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucasOscar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucasoscar/32/50261_2.png) [@lucasOscar](https://community.auth0.com/u/lucasOscar)\
**Post date:** [August 28, 2023, 10:33pm UTC](https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689/1 "2023-08-28T22:33:55Z")

</div>

I am seeing `ferrt`s and `fertft`s. I use `SecureCredentialsManager.awaitCredentials()` each time I need `Credentials` and only call `SecureCredentialsManager.saveCredentials()` post sign in/up. All refreshing is done by the SDK. I am trying to decide if this might be a thread-safety issue.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [August 28, 2023, 10:59pm UTC](https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689/3 "2023-08-28T22:59:10Z")

</div>

Hey there @lucasOscar welcome to the community!

As long as you are using [Auth0.Android](https://github.com/auth0/Auth0.Android) version 2.7.0 or great it should be thread-safe:

> **[Release 2.7.0 · auth0/Auth0.Android](https://github.com/auth0/Auth0.Android/releases/tag/2.7.0)**
>
> Full Changelog
> Changed
> 
> Implement Thread Safe Credential Manager #542 (poovamraj)

---

<div class="post-metadata">

**Author:** ![lucasOscar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucasoscar/32/50261_2.png) [@lucasOscar](https://community.auth0.com/u/lucasOscar)\
**Post date:** [August 29, 2023, 3:17am UTC](https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689/4 "2023-08-29T03:17:16Z")

</div>

I am using `2.10.1` so this must not be my issue 🤔. Thank you for your quick response.

---

<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:** [September 12, 2023, 3:17am UTC](https://community.auth0.com/t/is-securecredentialsmanager-awaitcredentials-thread-safe/114689/5 "2023-09-12T03:17:29Z")

</div>

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