MYGET
isolate all of oauth JS code and then rework into Idmgr