GEWIS / sudosos-backend

SudoSOS is a Node.js-based Bar and POS system made for study association GEWIS.
https://sudosos.gewis.nl
GNU Affero General Public License v3.0
6 stars 3 forks source link

[Bug]: Public key for authentication gewisweb not working #286

Closed SuperVK closed 2 months ago

SuperVK commented 2 months ago

Current behavior

https://sudosos.test.gewis.nl/api/v1/authentication/gewisweb returns nothing

Desired behavior

It should return the relevant authentication public token like the spec says

API Route

GET /api/v1/authentication/gewisweb

Steps to reproduce

run: curl -X 'GET' \ 'https://sudosos.test.gewis.nl/api/v1/authentication/gewisweb' \ -H 'accept: application/json' or use your browser or the swagger, and observe nothing gets returned.

Logs and Error Messages

No response

Other Information

No response

Yoronex commented 2 months ago

Interesting problem, as the endpoint on sudosos-test works just fine... Maybe after update 0.6.0 the issue might resolve itself. It does seem to be a problem in sudosos-prod though.

Yoronex commented 2 months ago

It seems to work now? No clue what was going on...