tecoholic

register_client_failing_without_uma_protection

Dec 7th, 2017
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INFO:oxdpython.configurer:Loading config at: /Users/tecoholic/work/oxd-python/examples/e2e_tests/test.cfg
  2. INFO:oxdpython.client:https_extenstion is enabled.
  3. WARNING:oxdpython.configurer:No option 'protection_access_token' in section: 'client'
  4. WARNING:oxdpython.configurer:No option 'id' in section: 'oxd'
  5.  
  6. => Calling setup_client()
  7. DEBUG:oxdpython.client:Sending command `setup_client` with params {'client_name': 'oxdpython openid https test script', 'authorization_redirect_uri': 'https://client.example.com/callback', 'post_logout_redirect_uri': 'https://client.example.com/post_logout/', 'client_frontchannel_logout_uris': ['https://client.example.com/logout_callback/'], 'scope': ['openid', 'profile'], 'op_host': 'https://ce-dev3.gluu.org'}
  8. DEBUG:oxdpython.client:Received response: {u'status': u'ok', u'data': {u'client_id_issued_at': 1512665876, u'client_registration_client_uri': u'https://ce-dev3.gluu.org/oxauth/restv1/register?client_id=@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', u'client_registration_access_token': u'a30aac91-c721-4cf9-a429-7eef4ce17ee6', u'oxd_id': u'b46a92a6-049f-4a74-bcf3-a798ed20bb00', u'client_id': u'@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', u'client_secret': u'5377e089-eb06-40bc-8cc4-d4e369eeda56', u'op_host': u'https://ce-dev3.gluu.org', u'client_secret_expires_at': 1512752276}}
  9. INFO:root:Received: {u'client_id_issued_at': 1512665876, u'client_registration_client_uri': u'https://ce-dev3.gluu.org/oxauth/restv1/register?client_id=@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', u'client_registration_access_token': u'a30aac91-c721-4cf9-a429-7eef4ce17ee6', u'oxd_id': u'b46a92a6-049f-4a74-bcf3-a798ed20bb00', u'client_id': u'@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', u'client_secret': u'5377e089-eb06-40bc-8cc4-d4e369eeda56', u'op_host': u'https://ce-dev3.gluu.org', u'client_secret_expires_at': 1512752276}
  10.  
  11. => Calling get_client_token()
  12. DEBUG:oxdpython.client:Sending command `get_client_token` with params {'op_host': 'https://ce-dev3.gluu.org', 'client_id': u'@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', 'client_secret': u'5377e089-eb06-40bc-8cc4-d4e369eeda56'}
  13. DEBUG:oxdpython.client:Received response: {u'status': u'ok', u'data': {u'access_token': u'a8a62f72-b2c0-418f-85b9-cc4c73f3084e', u'scope': u'openid', u'expires_in': 299, u'refresh_token': None}}
  14. INFO:root:Received: {u'access_token': u'a8a62f72-b2c0-418f-85b9-cc4c73f3084e', u'scope': u'openid', u'expires_in': 299, u'refresh_token': None}
  15.  
  16. => Registering client using register_site()
  17. DEBUG:oxdpython.client:Sending command `register_site` with params {'client_name': 'oxdpython openid https test script', 'authorization_redirect_uri': 'https://client.example.com/callback', 'post_logout_redirect_uri': 'https://client.example.com/post_logout/', 'client_frontchannel_logout_uris': ['https://client.example.com/logout_callback/'], 'client_id': u'@!1736.179E.AA60.16B2!0001!8F7C.B9AB!0008!6833.AC10.D577.FE69', 'client_secret': u'5377e089-eb06-40bc-8cc4-d4e369eeda56', 'op_host': 'https://ce-dev3.gluu.org', 'scope': ['openid', 'profile']}
  18. DEBUG:oxdpython.client:Received response: {u'status': u'error', u'data': {u'error_description': u'Unknown internal server error occurs.', u'details': None, u'error': u'internal_error'}}
  19. Traceback (most recent call last):
  20.   File "openid_commands.py", line 93, in <module>
  21.     run_commands(test_config)
  22.   File "openid_commands.py", line 26, in run_commands
  23.     oxd_id = c.register_site()
  24.   File "/Users/tecoholic/work/oxd-python/oxdpython/client.py", line 104, in register_site
  25.     raise OxdServerError(response['data'])
  26. OxdServerError: oxd Server Error: internal_error
  27.  Unknown internal server error occurs.
  28. None
Add Comment
Please, Sign In to add comment