owncloud / ocis-php-sdk

Apache License 2.0
3 stars 1 forks source link

decode token using Base64Url #209

Closed individual-it closed 4 months ago

individual-it commented 4 months ago

The token is not decoded using base64 but base64Url see https://jwt.io/introduction/ base64Url uses - and _ instead of + and /, see https://datatracker.ietf.org/doc/html/rfc4648#section-5

This PR is on top of #207, so review only last commit and merge after #207

fixes #208

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud