open-rmf / rmf-web

Apache License 2.0
87 stars 41 forks source link

api-server: remove stub authenticator #1008

Closed koonpeng closed 2 months ago

koonpeng commented 2 months ago

Remove the stub authenticator in api server. Now instead of a stub, we support using a secret to verify the jwt, for testing, the frontend hardcodes a token signed with the secret. This brings the test environment closer to prod and allows us to test with other claims in the future (e.g. address, emails, custom claims).