We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug using API guard, user property is always null.
To Reproduce Steps to reproduce the behavior:
I take a look closer on https://github.com/ellaisys/aws-cognito/blob/master/src/Guards/CognitoTokenGuard.php#L373 so I set primaryKey = "sub" in user models. The problem is gone. and no docs here.
primaryKey = "sub"
Expected behavior able to get user models when using API guard
The text was updated successfully, but these errors were encountered:
amitdhongde
When branches are created from issues, their pull requests are automatically linked.
Describe the bug
using API guard, user property is always null.
To Reproduce
Steps to reproduce the behavior:
I take a look closer on https://github.com/ellaisys/aws-cognito/blob/master/src/Guards/CognitoTokenGuard.php#L373
so I set
primaryKey = "sub"
in user models. The problem is gone.and no docs here.
Expected behavior
able to get user models when using API guard
The text was updated successfully, but these errors were encountered: