@matsunotsuma Thanks for asking question! If you want to use post authentication to redirect the user to where he/she intended to go? If so, you may try this- You can only use it in a response override:
{
"routes": [
{
"route": "/*",
"allowedRoles": [
"authenticated"
]
}
],
"responseOverrides": {
"401": {
"statusCode": 302,
"redirect": "/.auth/login/aad"
}
}
}
Let us know