"Fake" OAuth Provider?

You could maybe use custom user fields for this? How to create and configure Custom User Fields

A user field could be set to be required on signup, which would accept the randomly generated code. User fields can also be editable in someone’s preferences after signup, if existing accounts need to add the code.