Single use CSRF token generation and validation for cross server communication in PHP
问题 I have searched a lot trying to find something for my purpose, however most solutions revolve around CSRF tokens that work in conjunction with session data. My purpose requires "time based" token for cross server communication. I have Server A that needs to receive and validate a token that is sent to it via POST from Server B . The token needs to be generated on Server B by hashing with a secret key. Server A has to validate the same. Now, the problem is that token needs to be limited to