indigo-dc / oidc-agent

oidc-agent for managing OpenID Connect tokens on the command line
MIT License
111 stars 30 forks source link

Dynamic Client Registration - Argument is NULL in function JSONArrayStringToList #110

Closed zachmann closed 5 years ago

zachmann commented 5 years ago

It seems that the error from #108 still exists. However, it has to be something different, because #108 is fixed with v2.0.2

In contrast to #108 the bug also appears for the default scope. However, I cannot reproduce this.

lara@t410:~/Development$ oidc-gen -s
Enter short name for the account to configure: deep-iam
Enter optional additional client-name-identifier []: 
[1] https://iam.deep-hybrid-datacloud.eu/
[2] https://iam-test.indigo-datacloud.eu/
[3] https://iam.extreme-datacloud.eu/
[4] https://b2access.eudat.eu/oauth2/
[5] https://b2access-integration.fz-juelich.de/oauth2
[6] https://unity.eudat-aai.fz-juelich.de/oauth2/
[7] https://unity.helmholtz-data-federation.de/oauth2/
[8] https://services.humanbrainproject.eu/oidc/
[9] https://accounts.google.com/
[10] https://aai.egi.eu/oidc/
[11] https://aai-dev.egi.eu/oidc
[12] https://login.elixir-czech.org/oidc/
[13] https://oidc-kc.scc.kit.edu/auth/realms/kit/
Issuer [https://iam.deep-hybrid-datacloud.eu/]: 
Space delimited list of scopes [openid profile offline_access]: 
Registering Client ...
Error: Argument is NULL in function JSONArrayStringToList
You can try to register a client manually at 'https://iam.deep-hybrid-datacloud.eu/manage/dev/dynreg'
You can contact the OpenID Provider at 'deep-hdc-iam-support@lists.cnaf.infn.it'
zachmann commented 5 years ago

In #108 it also is a different function. So it might not be linked at all

zachmann commented 5 years ago

this is a missing seccomp syscall bug

zachmann commented 5 years ago

cannot be reproduced anymore