-
Notifications
You must be signed in to change notification settings - Fork 0
MaksymKhanin/Simple-Crud-Api-Microservice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1. Go to Appsettings.Dev and set Auth:Authority - URL of Authentication server 2. In Program.cs setup cors (URL of apim, bff or front deployed to DEV) 3. For dev remove [Authorize] attribute in controller and add [AllowAnonymous]. 4. When launch application, add /swagger to url. 5. If you have in Program.cs AddAuthentication(), UseAuthentication() or app.MapControllers().RequireAuthorization(), you need to [AllowAnonymous] for controller. Otherwise it is enough just to remove [Authorize] attribute. 6. Your controller will return 404 (NotFound) if you don`t add app.MapContrllers();
About
A template for a simple .Net CRUD Api with authorization, automapping, mediator.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published