Logo TheBeArsenal

Python | Technical Handbook

Flask - oauthlib.oauth2.rfc6749.errors.MismatchingStateError: (mismatching_state) CSRF Warning! State not equal in request and response.

Solution
Use 'Flow' instead of' 'InstalledAppFlow' from 'from google_auth_oauthlib.flow'