cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to test python xsuaa locally?

RonnyZ
Explorer
0 Likes
221

I created my first python app with ui5 frontend. But how can I test xsuaa security locally in vscode? Any option to define basic or mocked authentication? See the example how I do that normally in nodejs CAP application, but python has no package.json. Thank you in advance!

"cds": {
"requires": {
  "[production]": {
	"auth": "xsuaa"
  },
  "[development]": {
	"auth": {
	  "kind": "basic",
	  "users": {
		"myuser": {
		  "password": "mypass",
		  "roles": ["TEST_ROLE"]
		}
	  }
	}
  }
}
}

Accepted Solutions (0)

Answers (0)