Skip to content

Conversation

@alecsammon
Copy link

List of common tasks a pull request require complete

  • Changelog entry is added or the pull request don't alter library's functionality

Adds support for EdDSA/Ed25519

/**
* @var mixed holds well-known openid configuration parameters, like policy for MS Azure AD B2C User Flow
* @see https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-overview
* @see https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-overview
Copy link
Author

Choose a reason for hiding this comment

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

a whitespace fix

$protocol = 'http';
}

Copy link
Author

Choose a reason for hiding this comment

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

a whitespace fix


$port = (443 === $port) || (80 === $port) ? '' : ':' . $port;

Copy link
Author

Choose a reason for hiding this comment

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

a whitespace fix

Copy link
Collaborator

@DeepDiver1975 DeepDiver1975 left a comment

Choose a reason for hiding this comment

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

Please add a unit test for this - THX

@alecsammon
Copy link
Author

@DeepDiver1975 - thanks - I've added test cases for the EdDSA key :)

@alecsammon alecsammon requested a review from DeepDiver1975 March 8, 2025 13:39
throw new OpenIDConnectClientException('Malformed key object');
}

if (!function_exists("sodium_crypto_sign_verify_detached")) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be handled via composer as well. Please adjust composer.json and add
"ext-sodium": "*",

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