mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Wiremock authentication and Authorization - Azure AD #358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devmariodiaz on GitHub (Sep 29, 2021).
Is there any way to implement authentication and authorization with Wiremock? Something like Azure AD, JWT, etc.
@StefH commented on GitHub (Sep 29, 2021):
@devmariodiaz
You mean authentication for the REST admin interface?
@devmariodiaz commented on GitHub (Sep 29, 2021):
@StefH we need to verify if the person that is invoking the service mocked is authorized to do that using Azure Active Directory is possible to do it?
@StefH commented on GitHub (Sep 29, 2021):
@devmariodiaz
I've created a preview version :
1.4.24-ci-15439.on MyGet :https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
This version should support AzureAD authentication which needs an "Tenant" and "Audience".
use it like:
@StefH commented on GitHub (Sep 30, 2021):
https://github.com/WireMock-Net/WireMock.Net/pull/637
@StefH commented on GitHub (Sep 30, 2021):
@devmariodiaz
Did you have time yet to test this?
@devmariodiaz commented on GitHub (Sep 30, 2021):
Oh great, my friend, I will test and I will tell you how was it, thanks a lot
@StefH commented on GitHub (Oct 5, 2021):
Did you have time yet to verify ?
@StefH commented on GitHub (Oct 7, 2021):
Hello @devmariodiaz, if you have time, can you please verify this?
If it's ok, I can merge this to the main and create a new release.
@devmariodiaz commented on GitHub (Oct 7, 2021):
Hello Mr @StefH,
I appreciate your time.
Currently, I am not able to verify this feature, because I cannot access our Azure Environment, I will let you know as soon as have access to the environment, again thanks a lot for adding this feature.
@StefH commented on GitHub (Oct 19, 2021):
Do you already have access to your Azure environment?
@StefH commented on GitHub (Oct 20, 2021):
@devmariodiaz
I've merged the PR to master.
In case you find some errors while testing, just create a new issue.