Create DCR Router with OAuth 2.0 endpoints (self-hosted mode)
For external mode (Auth0/Stitch), don't call this function - no router needed. The server code should check DcrConfig.mode and only call this for 'self-hosted'.
Router configuration
Express router with OAuth endpoints
Create DCR Router with OAuth 2.0 endpoints (self-hosted mode)
For external mode (Auth0/Stitch), don't call this function - no router needed. The server code should check DcrConfig.mode and only call this for 'self-hosted'.