IdentityServer4TestServer icon indicating copy to clipboard operation
IdentityServer4TestServer copied to clipboard

Extra examples/samples?

Open VictorioBerra opened this issue 5 years ago • 1 comments

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.

VictorioBerra avatar Oct 10 '18 22:10 VictorioBerra

I am assuming right now id use WithConfigureServices or something to change the options.Authority of AddIdentityServerAuthentication to localhost?

VictorioBerra avatar Oct 10 '18 22:10 VictorioBerra