API server multi-end distinguishing jwt

1: Identify the source of the source (sources of WeChat applets all have referer of WeChat server)

2: Use different (rsa-256 or hs256)

3: Set different JWT_SECRET (secret key)

Guess you like

Origin www.cnblogs.com/ssx314/p/12694658.html
jwt