1
0
Fork 0
forked from gorb/backend

feat: add backend_url config option

Required for refresh_token cookie to work properly
This commit is contained in:
Radical 2025-05-31 17:11:14 +02:00
parent 4fce262551
commit 6783bd22a7
6 changed files with 12 additions and 14 deletions

View file

@ -146,7 +146,7 @@ pub async fn res(
.await?;
return Ok(HttpResponse::Ok()
.cookie(new_refresh_token_cookie(refresh_token))
.cookie(new_refresh_token_cookie(&data.config, refresh_token))
.json(Response { access_token }));
}