Ultimate

X_OAUTH_PROVIDER_DUPLICATE

Means

two oauth providers were registered under one id

Typical cause

two registerOAuthProvider calls claiming one id. Refused at boot rather than replacing silently, because the winner would be whichever module imported second — and it decides where every login for that id goes, including which issuers an id token may claim

Fix

give one of them a different id, or delete the duplicate registerOAuthProvider({ id: '<id>' }) call

Listed under Auth and sessions

This page as markdown