everyone,
I have a web api with OpenIddict Authentication.
- Core.Net 2.0 (C#),
- EntityFrameWorkCore 2.0
I would like to do integration test, but my controllers have Authorize atribute, so I need to have a autenticate user.
For my IT, I am using SQLite has an in-memory mode , docs
I don´t know howto create an user authenticate and retrieve the Token, that I need after to pass to the WebApi call.
Any advice?
Best regards.
Jolynice