A guest user can use any identity provider to authenticate. For more information, see Properties of a B2B collaboration user. Use the UserType property to determine user experience. The UserType claim isn't currently included in the token. Applications should use the Microsoft Graph API to query the directory for the user, and to get the UserType.