Integrating Basic Auth, OIDC, SAML, ... into the app is not funny and time consuming.
Luckily there are ready to use solutions:
- Keycloak
- Authelia
- Zitadel
- casdoor
- supertokens
- Logto
- NextAuth
- authentik
- ...
Analyse them and integrate one of those instead of implementing OIDC, SAML, ... direclty