Have public 3rd party web app that allows users to login via REST API
Also have internal functions for staff via Generic UI / web module
I am trying to allow staff generate a REST API token from Generic UI for any user, that can be passed to the 3rd party web app, to allow staff to open 3rd party web app already logged in as the selected user.
As you mention, the OAuthTokenIssuer class is available in the web tier, but how do I get access to the runtime instance created by the REST API ?
I can generate tokens via a custom REST controller, as it can inject and get access to the OAuthTokenIssuer bean, but I can’t find a way to call the token issuer from the code for a generic UI … is it possible?