Skip to content

Fix: render extensions also for EntityDescriptor and IdPSSODescriptor#894

Merged
c00kiemon5ter merged 3 commits intoIdentityPython:masterfrom
REANNZ:fix-ed-extensions
Jan 31, 2023
Merged

Fix: render extensions also for EntityDescriptor and IdPSSODescriptor#894
c00kiemon5ter merged 3 commits intoIdentityPython:masterfrom
REANNZ:fix-ed-extensions

Conversation

@vladimir-mencl-eresearch
Copy link
Copy Markdown
Contributor

Hi @c00kiemon5ter ,

I have noticed that while extra (metadata) extensions given as part of SP config are rendered in the metadata, they're ignored when given at the EntityDescriptor level (where e.g. RegistrationInfo should be rendered).

I have followed the style of how an SPSSODescriptor renderes the extensions and added it for EntityDescriptor - works as expected.

For completeness, I've also checked what other code paths might suffer from the same issue and added the rendering of extensions also for IdPSSODescriptor.

I see there are also similar functions for AA, AQ and PDP descriptors - I could add the same schematic code for completeness, but wanted to check with you first.

Your thoughts on this?

Should I cover the remaining descriptor types and would you then be happy to merge this PR?

Thanks a lot in advance for getting back to me.

Cheers,
Vlad

Checklist

  • Checked that no other issues or pull requests exist for the same issue/change
  • Added tests covering the new functionality
  • Updated documentation OR the change is too minor to be documented
  • Updated CHANGELOG.md OR changes are insignificant

While extensions configured for an SP are processed (inside SPSSODescriptor),
extensions defined at the EntityDescriptor level were ignored.

Render the extensions also on the EntityDescriptor level.
@vladimir-mencl-eresearch
Copy link
Copy Markdown
Contributor Author

Hi @c00kiemon5ter ,

I've now added the handling of extensions also for AA, AQ and PDP descriptors - the PR should be complete.

Please let me know what you think.

Cheers,
Vlad

@c00kiemon5ter
Copy link
Copy Markdown
Member

Looks good to me!

@c00kiemon5ter c00kiemon5ter merged commit aa0de7c into IdentityPython:master Jan 31, 2023
@vladimir-mencl-eresearch vladimir-mencl-eresearch deleted the fix-ed-extensions branch February 26, 2023 20:06
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