getting external logins working end to end