Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example IDP SLO Exception: ServiceError: 'str' object has no attribute 'c_namespace' #908

Open
imgurbot12 opened this issue May 25, 2023 · 0 comments

Comments

@imgurbot12
Copy link

imgurbot12 commented May 25, 2023

Hello, I suspect this might be a configuration error on my part, and I know there was a resolved issue with this exception some time back, but I can't for the life of me seem to figure out what combination of settings would resolve this issue or if it's some sort of internal problem.

When running the example IDP with sign_response and sign_assertion set to true in the service->idp portion of the config this error seems to raise every time a logout is initiated.

Code Version

Version: 7.4.1

Expected Behavior

SP logs out from IDP successfully.

Current Behavior

SP Fails to logout with the IDP exception raised: ServiceError: 'str' object has no attribute 'c_namespace

Possible Solution

Disabling signing seems to fix this issue, but I'm hoping to build an IDP from this example that includes signing for better security during operation so that is not an option for my use-case.

Steps to Reproduce

  1. follow instructions to setup idp/sp as listed in the README.md
    • generate ssl certs and cp them into relevant pki folders for idp and sp
    • copy idp_conf.example and sp_conf.example to idp_conf.py and sp_conf.py respectively.
  2. modify idp_conf.py settings within CONFIG->service->idp to include the following options:
"sign_response": True,
"sign_assertion": True,
  1. modify sp_conf within CONFIG->service->sp to include:
"want_response_signed": True,
"authn_requests_signed": True,
  1. run services with ./all.sh start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant