Some "sub" use '@' as character
Hi,
The subjects from 'https://aai.egi.eu/oidc/' might have a '@' character inside the string. So when combining the 'iss' to get the user name, it might lead to a missundestanding and a no such user
reply from RegApp:
root@d10-oidcdev:~# SUB=f4454d......7746@egi.eu
root@d10-oidcdev:~# ISS=https://aai.egi.eu/oidc/
root@d10-oidcdev:~# echo "$SUB@$ISS"
f4454d........7746@egi.eu@https://aai.egi.eu/oidc/
root@d10-oidcdev:~# subiss-to-unix "$SUB@$ISS"
[ERROR] [bwidmconnection.py:_request:60] RegApp responded with: no such user
See here that the combination $SUB@$ISS
produces the following string:
'...@egi.eu@...'
Maybe, it would be interesting that the ISS is extracted after a string '@https://' or '@http://', not only the '@'.
BR, Borja