IdentityServer4TestServer
IdentityServer4TestServer copied to clipboard
Extra examples/samples?
I think it would be really helpful to have some extra sample projects.
For example, it would be nice to have a simple API (as seen here) and then show how IdentityServer4TestServer
can be used, maybe along side WebApplicationFactory
?
A lot of us will be using WebApplicationFactory
already, overriding stuff like ConfigureServices
as seen here. So, examples would help people like me move over to this.
I really just want to be able to have my protected API use the IdentityServer4TestServer
as the authority so I can easily create clients with tokens to test my different endpoints using different scopes/claims.
I am assuming right now id use WithConfigureServices
or something to change the options.Authority
of AddIdentityServerAuthentication
to localhost?