Implement EncryptedKey RetrievalMethod support#297
Conversation
|
I have a client using this same different format. @pitbulk can you please consider this PR? :) |
|
Okta uses this format when assertions encryption is enabled. This PR is fully backward compatible and should not break anything! |
|
Can you provide specific unit test for that? |
|
@Distol do you have any example we can use for the tests? If not I can probably find some. If you don't have time, no problem, I can probably open another PR with the proper tests :) |
|
Give me a couple of days and I'll do it. |
|
@pitbulk, I added a test for RetrievalMethod support. It is similar to "it is possible to decrypt the assertion if private key", but uses another XML response. Is it ok? |
|
Thanks for the contribution guys, I will review if there is any security issue related to this change and I will share with the rest to the team. I hope to merge it as soon as possible. |
Implemented support for EncryptedKey RetrievalMethod.
Example