Tripletex / tripletex-api2

Tripletex API 2 resources and examples
MIT License
38 stars 43 forks source link

example.sh reports 'Error generating session token" erroneously #57

Open nilskoll opened 2 years ago

nilskoll commented 2 years ago

https://github.com/Tripletex/tripletex-api2/blob/9e0a670138aefa845e9e674a0d5ec72558f23ef6/examples/bash/authentication/example.sh#L43

This tests for the presence of a dash in the returned sessiontoken, but since sessiontokens don't have dashes, all valid requests for sessiontokens are reported as "failed"