External Login Provider without using auto link
# help-with-umbraco
b
Hi, I am implementing a way for members to login to a member restricted area by using an external login provider. But because this provider allows everyone to login through them and I do not want members to be created automatically, I have disabled autolink in the external login provider options. This however is a problem because the member and the provider have not been linked. I have tried to find a way to link them manually or some other way but I have not a way to do this. As anyone tried this before?
r
have you tried extending the members , with a custom field .. so when your new exteranl logins register and are federated and then populate the custom field so that you can use the local member in side the application.. though thats probably an old way to do it..
b
I have found a way around this by changing the defaultIsApproved property to false in MemberExternalLoginProviderOptions and then checking to see if the member exists in the optional callback OnAutoLinking.
r
There you go someone has obvioulsy already thought about this..