Skip to content

SignIn() method for SSO end up with 400 bad request #40

@tharindubuddhi

Description

@tharindubuddhi

I have followed the example in Readme. My react app is running locally in
http://localhost:5173
and I have a login page
http://localhost:5173/login

My redirect URI default set in workos portal - http://localhost:5173
Also I changed it to http://localhost:5173/login

Both case end up having the following
Network request

https://api.workos.com/user_management/authenticate
PayLoad
{
"client_id": "client_XXXXXXX",
"grant_type": "refresh_token",
"refresh_token": null
}
Response
400 Bad Request
{
"error": "invalid_request",
"error_description": "Missing refresh token."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions