Enable Production mode in Singpass

Problem statement

How to enable Production mode in Singpass.
The integration configuration in Auth0 only allows you to select staging mode.

Steps to reproduce

Follow this integration guide:

Cause

You need a different set of client credentials for production, which should be obtained from Singpass. Staging credentials won’t work in production.

Solution

Deploy one of the self-hosted versions of the proxy listed here GitHub - auth0-blog/auth0-singpass: Auth0 Singpass Integration 4, and change the upstream server to id.singpass.gov.sg in the config.