v3.1.0
Changes & Additions
OAuth2, Local Scheme & Inheritances
-
The
tokenandrefreshTokenproperty for the scheme includes anhttpOnlyproperty that will enable the httpOnly flag on the token and fresh token cookies. This option is disabled by default. (In a later version it will be enabled by default) -
All schemes (custom & built-in) will use a
serverHandlerif ssr is available to manage the creation of httpOnly cookies and authorization. -
A reset
serverHandlerhas been added to handle the deletion of the httpOnly cookies when logging out/using the reset function
nuxt-alt/http
- A
event.$httpnitro plugin has been added which works similar to whatevent.$fetchdoes, the difference being that it inherits the options of the http module. - Fixed issue where using
$httpin nitro would lead to a fetch error.