InvalidAuthorizationTokenException

Srujan Kumar Pilli October 3, 2017

... 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

Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2017

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

Srujan Kumar Pilli October 4, 2017

Yes I am sure about that

lpater
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 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
TAGS
AUG Leaders

Atlassian Community Events