InvalidAuthorizationTokenException

... 95 more
2017-10-03 18:16:00,445 http-bio-8095-exec-8 ERROR [crowd.console.action.Login] Failed to connect to the authentication server, please check your crowd.properties
org.springframework.security.authentication.AuthenticationServiceException: Authorization token cannot be created because client application credentials are invalid

 

I have changed my crowd.properties as well to 

--------------------------------------------------------------

session.lastvalidation=session.lastvalidation
session.tokenkey=session.tokenkey
crowd.server.url=http\://192.168.56.185:8095/crowd/services/
application.name=crowd
application.password=secret
http.timeout=30000
session.isauthenticated=session.isauthenticated
application.login.url=http\://192.168.56.185:8095/crowd/
session.validationinterval=0
--------------------------------------------------------------

I am unable to find How to resolve this issue.

 

Thak you in advance for your help

2 comments

Are you sure that the application user name, password and allowed IP are configured correctly?

Yes I am sure about that

Lukasz Pater Atlassian Team Oct 05, 2017

Hi Srujan,

When does this error occur? When you try to log in to Crowd, or in some other cases? Is there an issue you experience with using the product, or is there just this error message in the logs?

If you are using a proxy server in front of your Crowd installation, it might be due to misconfigured 'Trusted proxy servers'. One of the validation factors for applications is the remote IP address. If the trusted proxy servers are misconfigured (or for example there are some that are missing), Crowd would assume the source ip is the ip of the proxy server. If the ip doesn't match the ip of the server that created the application session you might see the error.

Please make sure all relevant proxy IPs or IP ranges are configured properly in Crowd. Please see  Configuring Trusted Proxy Servers for more details.

Comment

Log in or Sign up to comment
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Maggie Roney
Published Feb 27, 2018 in Crowd

The Crowd team is looking for feedback on Server & Data Center customers' identity strategies!

Do you own more than one Server or Data Center product? Do you have challenges provisioning users across your Atlassian products? Are you spending a lot of time integrating each Atlassian product wit...

579 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you