# Failed to authenticate Staged users (Authentication Failed)

**URL:** <https://devforum.okta.com/t/failed-to-authenticate-staged-users-authentication-failed/22272>\
**Category:** API\
**Tags:** api, spring, react, java\
**Created:** [October 27, 2022, 4:48pm UTC](https://devforum.okta.com/t/failed-to-authenticate-staged-users-authentication-failed/22272 "2022-10-27T16:48:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![en9662](https://avatars.discourse-cdn.com/v4/letter/e/edb3f5/32.png) [@en9662](https://devforum.okta.com/u/en9662)\
**Post date:** [October 27, 2022, 4:48pm UTC](https://devforum.okta.com/t/failed-to-authenticate-staged-users-authentication-failed/22272/1 "2022-10-27T16:48:46Z")

</div>

I tried to authenticate STAGED users through either `/authn` or Java SDK in Service app but I kept getting `Authentication Failed` despite providing correct credentials!

Is there a way to determine whether a STAGED user has provided a correct credentials?

Note: I have to get this information (user has a valid credentials) in order to proceed to next step which is activating user account.

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [October 30, 2022, 11:10pm UTC](https://devforum.okta.com/t/failed-to-authenticate-staged-users-authentication-failed/22272/2 "2022-10-30T23:10:34Z")

</div>

Hello,  
A user needs to be moved too `active` before authentication can take place.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 24, 2023, 2:41pm UTC](https://devforum.okta.com/t/failed-to-authenticate-staged-users-authentication-failed/22272/3 "2023-02-24T14:41:06Z")

</div>

Closed on February 24, 2023, 2:41pm UTC

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