We’re seeing a lot of people having trouble writing the code for their websites to integrate with Discourse’s single sign on, getting
RuntimeError “Bad signature for payload”
This topic outlines the process, but if your code is calculating something incorrectly, then your users will get that unhelpful error.
The first step to solving this problem is to compare your code with the samples provided in the sso category:
Let’s post solutions in this topic. What was wrong and how was it fixed?