This happens when the EOS_EAuthScopeFlags passed to EOS_Auth_Login don’t match what is configured in the developer portal under Epic Account Services. The most common cause is the developer portal has the Country scope enabled and the game isn’t passing that scope in the EOS_EAuthScopeFlags.
https://dev.epicgames.com/community/learning/knowledge-base/XvbpP/epic-online-services-why-is-the-eos_auth_login-callback-not-firing-and-players-are-prompted-with-an-infinite-loop-of-scope-consent