when i use authentication form and pass extra data...
# ktor
n
when i use authentication form and pass extra data like
redirect = /login/success
then i cannot actually read that parameter
call.parameters
is empty and on calling
call.preceiveParameters()
i get a exception:
io.ktor.request.RequestAlreadyConsumedException: Request body has been already consumed (received).
if i want to pass extra data to the
/login
post endpoint.. do i need to put that into get parameters or such ? currently to avoid it i set a cookie session and clear after the redirect has been read from there