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

Print the key-id in the SSO locations of the IdP metadata #891

Merged
merged 1 commit into from Sep 7, 2020

Conversation

MKodde
Copy link
Member

@MKodde MKodde commented Sep 7, 2020

The rollover key was not present in the IdP metadata of EngineBlock. This is taken care of in this commit.

An additional challenge arose: The Key Id is not always explicitly defined when opening the IdP metadata, in fact it is only used in roll-over scenarios. Setting the default by default caused the SSO URl to be filled with key:default. Where this is not a requirement.

https://www.pivotaltracker.com/story/show/174672018

The rollover key was not present in the IdP metadat of EngineBlock. This
is taken care of in this commit.

An additional challenge arose: The Key Id is not always explicitly defined
when opening the IdP metadata, in fact it is only used in roll-over
scenarios. Setting the default by default caused the SSO URl to be
filled with key:default. Where this is not a requirement.

https://www.pivotaltracker.com/story/show/174672018
@MKodde MKodde added the 6.3.3 label Sep 7, 2020
@MKodde MKodde requested a review from thijskh September 7, 2020 09:51
@MKodde MKodde changed the title Make key-id optional in IdP constructors Print the key-id in the SSO locations of the IdP metadata Sep 7, 2020
Comment on lines +46 to +48
if ($identifier === null) {
$identifier = self::DEFAULT_KEY_PAIR_IDENTIFIER;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of doing this in the controller, what was previously the case. We now set the default identifier in the KeyPairFactory. This prevents other users of the Key from using the default key-id

@MKodde MKodde merged commit 6bb7b32 into master Sep 7, 2020
@MKodde MKodde deleted the bugfix/missing-sso-key-rollover-urls branch September 16, 2020 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants