Per my knowledge and test, if you want to share a whole site with external users, external users must have to log in SharePoint Online sites with their external accounts.
If you only want to share files with external users, you could use Anyone link without log in.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.