Update Handling For When Linking New External Credentials Without IdP email and Refactor def openid_connect
#1003
+78
−29
def openid_connect
#1003