mblackgeo / flask-cognito-lib

A Flask extension that supports protecting routes with AWS Cognito following OAuth 2.1 best practices
https://mblackgeo.github.io/flask-cognito-lib/
MIT License
57 stars 15 forks source link

code_verifier #34

Closed Abdi-Ghasem closed 7 months ago

Abdi-Ghasem commented 7 months ago

Hi, I followed the instruction but at the end I receive this error: Screenshot 2024-01-24 at 9 47 23 PM If I copy the code from URL manually and put inside session['code_verifier'] it works. However, by default example and session['code_verifier'] = request.args.get('code') it does not work. Please advise

Abdi-Ghasem commented 7 months ago

9