diff --git a/backend/app/controllers/users/omniauth_callbacks_controller.rb b/backend/app/controllers/users/omniauth_callbacks_controller.rb index 87cf561..3b2e6aa 100644 --- a/backend/app/controllers/users/omniauth_callbacks_controller.rb +++ b/backend/app/controllers/users/omniauth_callbacks_controller.rb @@ -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!