Skip to Content
5
May 29, 2018 at 08:56 PM

Referencing applications in same space in xs-security.json

145 Views Last edit May 29, 2018 at 08:56 PM 2 rev

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?