Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Is there any example available on how to use Azure AD authentication with Playwright tests using C#? Not 2FA but just the normal authentication

$
0
0

I am try to write E2E tests on my Blazor 8 WebApp using Playwright. I would like to setup the Azure AD authentication to have a user with a certain roles depending on the tests. Could not find a working example anywhere?

As a note, I am using Azure AD authentication with a tenant using certificates rather than secrets.

Any documentation or any pointers or sample projects would be hugely appreciated.

I have tried using the codegen but that wouldn't work as the tests are meant to kind of impersonate the users in some way or the other.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>