https://www.librechat.ai/docs/configuration/authentication/OAuth2-OIDC/azure
In the line:
In the Redirect URI field, enter http://localhost:3080/oauth/openid/callback and click on Register.
It would be clearer to emphasize that the URL does not have to be localhost:3080; if you are using a real or production URL, you should enter that URL instead.