Hi,
Is it possible to get user email in api proxy preflow stage. If yes, pls suggest steps.
Thanks,
Jeevan
Hi @jeevan
Can you please elaborate your question and use case ?
Hi Sai,
We want to enforce some restriction on data based on email address pattern in the backend api. Hence we want to extract use email at api proxy preflow stage and want to send it to target api.
Thanks,
Jeevan
Yes, It's possible.
Keep us posted if you have any queries.
HI @jeevan
You can do this by setting the email id as a custom attribute while generating the access token. More info here.
Once this is set, in your API proxy, while Verifying the Access token, you should be able to get the custom attribute (email) as a flow variable that can be used anywhere in your API proxy
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |