Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Denoder
Copy link
Member

@Denoder Denoder commented Dec 12, 2023

Changes & Additions

OAuth2, Local Scheme & Inheritances

  • The token and refreshToken property for the scheme includes an httpOnly property 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 serverHandler if ssr is available to manage the creation of httpOnly cookies and authorization.

  • A reset serverHandler has been added to handle the deletion of the httpOnly cookies when logging out/using the reset function

nuxt-alt/http

  • A event.$http nitro plugin has been added which works similar to what event.$fetch does, the difference being that it inherits the options of the http module.
  • Fixed issue where using $http in nitro would lead to a fetch error.

- This update aims to provide support for httpOnly cookies in all the schemes and providers for this module.
@Denoder Denoder self-assigned this Dec 12, 2023
@Denoder Denoder marked this pull request as draft December 12, 2023 05:30
@Denoder Denoder marked this pull request as ready for review December 18, 2023 12:29
@Denoder Denoder merged commit 2db5828 into main Dec 18, 2023
@Denoder Denoder deleted the v3.1.0 branch December 18, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants