[ ] ๐ Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] ๐ Bug fix (a non-breaking change that fixes an issue)
[x] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
This Pull Request introduces enhancements to the sign-in functionality by enabling the inclusion of custom headers in the login request. The change is made to improve the flexibility and scalability of the sign-in process, allowing additional headers to be passed as part of the request for various purposes such as API versioning, custom authentication tokens, and enhanced security measures.
Key Changes
Custom Headers Support: The signIn function now accepts a signInHeaders parameter, which can be used to pass custom headers in the sign-in request.
Fallback to Default Headers: If no custom headers are provided, the function defaults to an empty object, maintaining backward compatibility.
๐ Linked issue
closes https://github.com/sidebase/nuxt-auth/issues/880
โ Type of change
๐ Description
This Pull Request introduces enhancements to the sign-in functionality by enabling the inclusion of custom headers in the login request. The change is made to improve the flexibility and scalability of the sign-in process, allowing additional headers to be passed as part of the request for various purposes such as API versioning, custom authentication tokens, and enhanced security measures.
Key Changes
๐ Checklist