В доке всё очень расплывчато. Глобальный конфиг redirect
Default:
auth: {
redirect: {
login: '/login',
logout: '/',
callback: '/login',
home: '/'
}
}
login: User will be redirected to this path if login is required.
logout: User will be redirected to this path if after logout, current route is protected.
home: User will be redirected to this path after login. (rewriteRedirects will rewrite this path)
callback: User will be redirected to this path by the identity provider after login. (Should match configured Allowed Callback URLs (or similar setting) in your app/client with the identity provider)
Each redirect path can be disabled by setting to false. Also you can disable all redirects by setting redirect to false
login, logout вроде понятно как действую, а вот home и callback совсем не понятно + ещё есть глобальный конфиг rewriteRedirects. Непонятно крч ничего