show less
show more
@cstg_xiaohan
active 4 weeks, 1 day agoPoints balance: 56 ♪
Rank: CSTG_Xiaohan
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? View
-
CSTG_Xiaohan posted an update 7 months, 3 weeks 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.