There are exceptions implemented for refers or user agent (Google Bot) or Google IP range<p>How to check correctness of paywall implementation?
<a href="https://support.google.com/webmasters/thread/6647304?hl=en" rel="nofollow">https://support.google.com/webmasters/thread/6647304?hl=en</a>