Skip to content

Instantly share code, notes, and snippets.

@cjhowald
Last active June 24, 2016 14:26
Show Gist options
  • Save cjhowald/16a3034e2e310c938cd50e6abfb3dbd9 to your computer and use it in GitHub Desktop.
Save cjhowald/16a3034e2e310c938cd50e6abfb3dbd9 to your computer and use it in GitHub Desktop.
Script to create and resolve bad cookies in the solution center
@cjhowald
Copy link
Author

Instructions:

  1. Navigate to the URL you want to test, e.g. sc-integration.norris.zalan.do.
  2. Copy & paste this code into the console.
  3. setBadCookies() to create a bad cookies.
  4. Reload. You should be taken to the login page.
  5. Login and confirm everything now works normally.
  6. If you are still seeing errors, or to test this in an environment not yet using solution-center-login 1.2.2, run clearBadCookies to clean up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment