VATUSA / api

VATUSA's RESTful API for facilities
https://api.vatusa.net
MIT License
3 stars 10 forks source link

Add RFC7519 flag to authorize query to add compliance for Sub in JWT #62

Closed dhawton closed 3 years ago

dhawton commented 3 years ago

This adds a query param of rfc7519_compliance to the login endpoint of ULSv2, that when set (no value, just has to exist in the query string to be "set" like test), will have the Subject Claim be a string in compliance with RFC 7519 https://datatracker.ietf.org/doc/html/rfc7519#page-9. This change uses a flag to ensure it is a non-breaking change for existing code bases, but is not enough of a change to warrant versioning to v3.

Closes #61