PHP Laravel, Ruby on Rails, Python Django, Elixir Phoenix all have some ways of doing this, but are usually baked into the framework.
Others usually end up as a standalone service like Keycloak, Authelia and more.
Sounds like there's not much like this for Java or C#.
0: https://shiro.apache.org/
1: https://docs.oracle.com/en/java/javase/22/security/java-auth...
2: https://github.com/pac4j/pac4j
PHP Laravel, Ruby on Rails, Python Django, Elixir Phoenix all have some ways of doing this, but are usually baked into the framework.
Others usually end up as a standalone service like Keycloak, Authelia and more.