Skip to content

error=Grant: missing session or misconfigured provider #726

@lancevo

Description

@lancevo

Node.js version: 9.6.1

npm version: 5.6.0

Strapi version: 3@apha 10.2

Operating system:
Mac Os, Linux

Do you want to request a feature or report a bug?
bug

What is the current behavior?
when validating token returned by provider like google against /connect/google/callback, grant return this error "error=Grant: missing session or misconfigured provider"

If the current behavior is a bug, please provide the steps to reproduce the problem
Use this example from soupette https://medium.com/strapi/protected-routes-and-authentication-with-react-and-node-js-d31d234644cd
The bug is also discussed here https://stackoverflow.com/questions/48974818/strapi-returns-invalid-token-using-google-provider

What is the expected behavior?
strapi should returns a jwt and register new user

Metadata

Metadata

Assignees

Labels

issue: bugIssue reporting a bugseverity: highIf it breaks the basic use of the productstatus: confirmedConfirmed by a Strapi Team member or multiple community members

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions