Skip to content

Conversation

@agxs
Copy link
Contributor

@agxs agxs commented Feb 16, 2021

The custom error view call was using the import_string function but this function wasn't being imported in the file so it resulted in an error at runtime.

Additionally the documentation describing how to do this has a small error with the example function you need to override. I guess at some point in the past status was added as a positional argument.

agxs added 2 commits February 16, 2021 15:52
Add the `import_string` import so that you can use the above variable to
supply a different template rendering function.
The custom error function that is passed in using
SAML_ACS_FAILURE_RESPONSE_FUNCTION has changed signature and the example
no longer works.

The custom function with an extra positional argument so the
documentation has been updated to include this.
@peppelinux peppelinux merged commit 2166396 into IdentityPython:dev Feb 16, 2021
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

Successfully merging this pull request may close these issues.

2 participants