Skip to content

Using with a HttpOnly cookie from server #1022

Discussion options

You must be logged in to vote

Yes, you can use Auth kit by sending the cookie in the initial response from the server. But you have to make sure 2 things

  1. The cookies sent by the server should have the same configuration settings as like Auth Kit.
  2. The cookie must be set before any JavaScript start running.

Hopefully, this will answer your issue. Thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrisbekas
Comment options

Answer selected by chrisbekas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants