Skip to content

Sign in refresh

Sign in refresh

Refresh token endpoint with cookie-based authentication.

Info
MethodPOST
Route groupauth
Path{auth}/signin/refresh
TypeSignInRefreshEndpoint<TUser>
AuthenticatedHttp only cookie with refresh token.

Request body

Query parameters

NameTypeDescription
usecookiebooleanUse cookie to store access token. Default is false.

Response body

NameTypeDescription
access_tokenstringJWT token.
expires_innumberToken expiration time in seconds.
token_typestringBearer

Response Cookies

NameTypeDescription
Aufy.RefreshTokenstringHTTP only cookie with refresh token.
Aufy.AccessTokenstringHTTP only cookie with access token. Set only if usecookie query parameter is true.