v1

latestOpenAPI 3.1.02026-07-1740131135.9 KB

Refresh Access Token

Refresh the access token using the refresh token stored in the cookie.

Args: request (Request): The request containing the cookie. session (Annotated[Session, Depends(get_db)]): the database session. refresh_token (Annotated[Str | None, Cookie()]): the refresh token, which is fetched from a cookie included in the response.

Returns: dict: A dictionary containing the new access token.

post/refresh

Cookies

refresh_tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/refresh:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}