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"}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.