Custom Parameters not available in Rules context while using gettokensilently()

I am able to get this to work using the Vanilla JS ‘Call An API’ Quickstart, using this code:

    const customParams = { foo:'bar', color: 'blue' }
    const token = await auth0.getTokenSilently({ignoreCache: true, ...customParams});

Screen Shot 2021-05-21 at 9.45.32 AM

1 Like