sifive / wake

The SiFive wake build tool
Other
86 stars 28 forks source link

rsc: Add route to check for valid api key #1549

Closed V-FEXrt closed 6 months ago

V-FEXrt commented 6 months ago

Add the route POST /auth/check which returns 200 on valid auth key and 401 on invalid auth key. It will be used as an early warning to actors they they may have incorrectly specified their auth key when connecting to the rsc