I have created Auth. Provider for Google and LinkedIn. We want community user to login/register via Google or LinkedIn. It is working correctly for community users but from community URL internal user can't able to login. we are getting this exception "NO_ACCESS: User was an internal user for the community". In Community setting we already allow internal users to login and System Adminimstrator profile is added in Members.
For checking Internal Users we added Gmail and Linkedin In My Domain. we found below strange cases:
1. Internal user can login via username and password as well as gmail and linked but only from my domain url.
2. Internal user can login via username and password to community.
3. Internal user can’t login to community via LinkedIn or Gmail.
3 answers
As mentioned on your stackexchange post (https://salesforce.stackexchange.com/questions/177142/auth-provider-is-not-working-from-communities-for-internal-user/202456#202456), I came up with a hack/solution leveraging the startURL parameter and redirects.