Rust API with Authentication

I am looking for an example of a rust API (via Actix or anything else) with a User Login integration. Anyone has an example?

I have no doubt there are many examples on GitHub. What exactly are you looking for? Your question is very broad.

A simple to-do list with a login (user login, logout, recover password). Strangely didn't find anything on github. I guess I need a separate authentication and a separate API and combine them.