Describe the bug
the frontend idtokens /var/lib/gwms-frontend/tokens.d/GROUP.ENTRY.idtoken are saved without a newline at the end.
This fails read operations in shell, like the one used in httokendecode:
read TOKEN<"TOKENFILE
The Frontend seems to work correctly anyway but would be better to add the newline to make the token files readable by other tools.
To Reproduce
Check the files in /var/lib/gwms-frontend/tokens.d/
Expected behavior
To be able to run httokendecode /var/lib/gwms-frontend/tokens.d/TOKEN
Currently it returns nothing. Fails silently.
Describe the bug the frontend idtokens
/var/lib/gwms-frontend/tokens.d/GROUP.ENTRY.idtoken
are saved without a newline at the end. This fails read operations in shell, like the one used in httokendecode:The Frontend seems to work correctly anyway but would be better to add the newline to make the token files readable by other tools.
To Reproduce Check the files in
/var/lib/gwms-frontend/tokens.d/
Expected behavior To be able to run
httokendecode /var/lib/gwms-frontend/tokens.d/TOKEN
Currently it returns nothing. Fails silently.Screenshots NA
Info (please complete the following information):
Additional context NA