Skip to Content
3 days ago

OAuth Client Grant Error – User authentication failed: PASSWORD_CHANGE_REQUIRED

77 Views Last edit 2 days ago 2 rev

Hi there,

We are running our application on Cloud Foundry Cloud. Our Java application is binding with org.cloudfoundry.managed-service xsuaa. Everything worked fine for months until last Saturday our application crashed by error:

org.cloudfoundry.uaa.UaaException: unauthorized: {"error":"invalid_grant","error_description":"User authentication failed: PASSWORD_CHANGE_REQUIRED"}	at org.cloudfoundry.reactor.util.ErrorPayloadMappers.lambda$null$8(	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Assembly trace from producer [reactor.core.publisher.MonoCacheTime] :
Error has been observed at the following site(s):
	|_ Mono.checkpoint ⇢ at org.cloudfoundry.reactor.tokenprovider.AbstractUaaTokenProvider.token(
	|_ Mono.checkpoint ⇢ at
	|_____ Mono.checkpoint ⇢ at org.cloudfoundry.reactor.tokenprovider.AbstractUaaTokenProvider.token(
	|_ Mono.checkpoint ⇢ at org.cloudfoundry.reactor.client.v2.organizations.ReactorOrganizations.list(
	|_ Flux.checkpoint ⇢ at org.cloudfoundry.operations.applications.DefaultApplications.list(
	|_ Flux.checkpoint ⇢ at org.cloudfoundry.operations.applications.DefaultApplications.list(

I don't get what "User authentication failed: PASSWORD_CHANGE_REQUIRED" means. So I tried reset Communication User password in SAP GUI, but it doesn't work. This error is not threw by user login but when deployment. So our application can't start and run.

I'm wondering what PASSWORD_CHANGE_REQUIRED indicates and hot to fix this? Thanks!