Skip to content

Commit

Permalink
Updated cookie domain again
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed Jul 23, 2023
1 parent 8e1aece commit b913f60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def google_oauth2
auth_token = JsonWebToken.encode(user_id: user.id) # Shouldn't be storing anything else but their user_id in this! >:(
cookies[:auth_token] = {
value: auth_token,
domain: '.ian-tapply.me', # SET THIS TO YOUR FRONTEND ADDRESS
domain: 'simcoe-signout.ian-tapply.me', # SET THIS TO YOUR FRONTEND ADDRESS
httpOnly: true,
secure: true,
expires: 30.minutes # This should be set the expiry time of the JWT, we mine as well automatically clear it from cookies when it expires!
Expand Down

1 comment on commit b913f60

@vercel
Copy link

@vercel vercel bot commented on b913f60 Jul 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.