• CSTG_Xiaohan posted an update 1 month ago

    In a Oauth2 flow, I want to extract some data from the request in OAuth2 Access Token Modification Script, but I notice that in the defined variables there is no variable calling the request, how can I call my request in this script?

    • You can use a custom scope validator to get access to `OAuth2Request` object which encapsulates the original `Request` object.

    • You could promote the ‘OAuth2Request’ object as a script variable if only you have access to the OpenAMScopeValidator source.