What is the correct way to reference an application in the current space in xs-security.json?
I am trying to import a foreign scope using
"scopes": [
{
"name": "$XSAPPNAME(application,UserService).view",
"description": "View userservice"
}
],
This does no work.
When I hardcode for example UserService!i8.view instead of the $XSAPPNAME-notation, the foreign scope will be included in the token. This is obviously not what I want.
What is the correct way to do this?