-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"not verified" response - cognito #67
Comments
There are two types of token available in Cognito: |
Can I check which of these is considered "correct"? We've an API Gateway in front of an app. which uses Not sure if I missed something in the docs |
Ignore me: I RTFM'd a little harder and that first example finally clicked ( |
I've implemented the code exactly as listed in the documentation for get_current_user, but regardless of if I pass the idToken or accessToken I still receive |
@JLongley, can I check how you're getting the tokens? And how you're forming the requests? I've just copy/pasted the example from the README and it's seemingly working for both ID and Access tokens. |
Hi, maybe I am missing something obvious, but when authenticating using an auth token from cognito, the fastapi-cloudauth responds with
401 {"detail": "Not verified"}
This does not refer to the user I guess, as the user is email & phone verified, but does it refer to the domain (localhost, local dev)?
How would I test my app locally then?
I hope you can point me in the right direction, as this package would be awesome to use!
The text was updated successfully, but these errors were encountered: