Ever needed to get the tenantId based on the Azure AD domain? This API makes that a simple task.
- Run
npm run start:dev
- Navigate to
http://localhost/find-tenant/by-domain/{your_domain}
- Run
npm run test
- Run
npm run build
- (Optional) Set the FRONTEND_CORS_ORIGIN environment variable to change the frontend origin
- (Optional) Set the PORT environment variable to a different port, defaults to 80
- Serve the code
npm run start
If you like frontend challenges try creating something like this using this API