-
Notifications
You must be signed in to change notification settings - Fork 140
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
Auth OIDC: Possibility of using Client Certificate Path at IdP and authentication #2378
Comments
@weilai-irl is this feature viable? I'd like to know if there is any process or implementation to make it possible. |
It would be really great if we have a feature like this. |
That would be a nice and useful feature to get implemented. Any updates on this? |
Up! I would appreciate this feature! |
Hi @joaop221 Sorry for not getting back to you sooner. Yes, I think this feature is viable. I'll review your implementation and aim to include it in the next release. Regards, |
Thank you @weilai-irl for the response. I'm available for any help needed. |
Hi @weilai-irl, During tests and reviews of this implementation, I've found some problems with client objects (local_o365) that interact with authentication methods (auth_oidc) when Certificate authentication method is used. Follow the list:
This happens because of static method that does not verify authentication method and create an object using client secret. See below:
Proposed solution: be96d22 |
Hi @joaop221, I have reviewed your PRs and they look very good to me. They work as expected on certificates configured in file names, and for those encrypted using passphrase. I made some small changes and created separate branches and PRs in order to comply with our release process. The changes I made are:
I'll include this item in the pre-release test in our process, so that they can be included in the next release. FYI, support for Moodle 4.0 version of the plugin has been dropped, so this feature will not be supported in 4.0 version. Thank you again for your contribution. I'll review other issue mentions in your latest comment separately. Regards, |
Hi all, This feature has been included in the release today for: @joaop221 Thank you again for your contribution. Regards, |
Greetings,
With actual config of Idp auth requires that user inputs raw certificate contents (including private key). Moodle grants security of this approach, but some organizations require that some of such contents are placed at key vault solution or file path (inclusive key vault can do this). Searching the contributions available here, I've found this implementation #2235 and the discussion about overcomplication that this implementation implies.
So I've been thinking about the possibility of specifying a default location of certificates inside IdP and authentication feature, giving admin option to describe both filenames (public and private key) that will be placed at this "default location". Of course, cert passphrase will be appreciated.
If these ideas are viable for this project, I'm at your disposal. (Some of the work is already done - PR will come soon).
The text was updated successfully, but these errors were encountered: