paulmfischer / MediaSet

MIT License
0 stars 0 forks source link

Add authorization/authentication to API #92

Open paulmfischer opened 3 months ago

paulmfischer commented 3 months ago

Add authentication capability to the API, preferably JWT token based.

Lock down the Create/Edit/Delete/Upload endpoints so only authorized users can perform.

Create follow up UI tasks to show/hide abilities as well as login ability.

paulmfischer commented 1 month ago

Potentially helpful links: https://www.infoworld.com/article/2337000/how-to-implement-identity-authentication-in-minimal-apis-in-aspnet-core.html

https://www.yogihosting.com/aspnet-core-identity-mongodb/

https://www.infoworld.com/article/2336839/build-an-authentication-handler-for-a-minimal-api-in-aspnet-core.html

https://dev.to/moe23/net-6-minimal-api-authentication-jwt-with-swagger-and-open-api-2chh