cancel
Showing results for 
Search instead for 
Did you mean: 

cds xsuaa suddenly requires using 'cds bind' and default-env.json no longer works

pieterjanssens
Active Participant
0 Kudos
ERROR on server start: 
Error: Authentication kind "xsuaa" configured, but no XSUAA instance bound to application. Either bind an IAS instance, or switch to an authentication kind that does not require a binding

I prefer using default-env.json as this allows me to swich cf cli sessions without affecting my developer workspaces...
This happend updating from 7.1.2 --> 7.2.1.

Willem_Pardaens
Product and Topic Expert
Product and Topic Expert
0 Kudos

The deprecation of default-env.json is mentioned here: https://cap.cloud.sap/docs/node.js/cds-env#in-default-env-json

pieterjanssens
Active Participant

Until it's officially unsupported, I'd like to keep using it. Even when it's deprecated.

Accepted Solutions (0)

Answers (1)

Answers (1)

martinfrick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi piejanssens,

are you sure about that? Still works for me...

Martin

pieterjanssens
Active Participant
0 Kudos

Perhaps it's due to the way I'm defining/running my profile?

  "cds": {
"requires": {
"cds.xt.SaasProvisioningService": true,
"[local]": {
"cds.xt.SaasProvisioningService": false,
"auth": {
"kind": "xsuaa"
}
},
"cds.xt.DeploymentService": false,
"cds.xt.ModelProviderService": false,
"uaa": {
"kind": "xsuaa"
},
...
}


Starting via "cds watch --profile local"