We want to have the possibility to test the Mink backend without touching sbauth. Arild has created a fake JWT server which can probably be used to test most parts of the Mink workflow.
Jag har gjort en liten pythonserver som encodar godtyckliga jwt:er:
https://github.com/arildm/fakejwt
Den kör på demo nu, så man kan PUT:a och GET:a dit.
Jag har t ex gjort:
curl -X PUT https://demo.spraakbanken.gu.se/arild/fakejwt/jwt/mink-arild --json @payload.json
Och nu om man besöker
https://demo.spraakbanken.gu.se/arild/fakejwt/jwt/mink-arild
får man en JWT som innehåller den payloaden.
We want to have the possibility to test the Mink backend without touching sbauth. Arild has created a fake JWT server which can probably be used to test most parts of the Mink workflow.