# Crowd authentication/authorization failing for external user (using Okta).

**URL:** <https://community.developer.atlassian.com/t/crowd-authentication-authorization-failing-for-external-user-using-okta/71440>\
**Category:** Crowd Development\
**Tags:** api, crowd\
**Created:** [July 24, 2023, 6:10am UTC](https://community.developer.atlassian.com/t/crowd-authentication-authorization-failing-for-external-user-using-okta/71440 "2023-07-24T06:10:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lchalla](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@lchalla](https://community.developer.atlassian.com/u/lchalla)\
**Post date:** [July 24, 2023, 6:10am UTC](https://community.developer.atlassian.com/t/crowd-authentication-authorization-failing-for-external-user-using-okta/71440/1 "2023-07-24T06:10:50Z")

</div>

We are trying to provide access to external SIM and we have done all the configuration needed (network, Okta) and have setup the user using the Email id. The Okta authentication works, but we are getting error, which is attached. We need to provide users access to Jira application.

Vendor Miniorange has looked into the issue, but not able to resolve the issue. They wanted to us to check with you regarding the APIs.

Please find the details below:

API which helps to find the user and update profile details  
API: com.atlassian.crowd.embedded.api.CrowdService

Method: crowdService.getUser(username)

API which is not able to find the user and create a session  
API: com.atlassian.crowd.manager.authentication.TokenAuthenticationManager  
Method: authenticateUserWithoutValidatingPassword(application, userAuthContext)
