Skip to content

Google OAuth fails with {"error":{"code":500,"message":"Undefined index: id"}} #31

@play-io

Description

@play-io

Version: bitnami/dreamfactory:4.4.0

What was done:

  1. OAuth2 application was created at Google.
    1.1. Redirect url: https://my-host/dreamfactory/dist/index.html?service=google (my-host is changed value)
  2. Google OAuth service was created at DF with name: google. Redirect url: https://my-host/dreamfactory/dist/index.html?service=google

Expected result:

  • Successfully login by OAuth Google authentication method at my-host

Actual result:

  • Error message is shown: "{"error":{"code":500,"message":"Undefined index: id"}}"

We session details:
Call from google https://my-host/api/v2/user/session?oauth_callback=true&service=google&state=tmclDBCGoJaDaueXr5k4PM1alFZOoOrWUi4nfJOj&code=4%2F0AY0e-g5oZ1v6OWfaOpQ983SssvUqBWA_gPFj-PYDxEI60qyBaX6bGBS1e6rRSR571H8ipg&scope=email+profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&authuser=0&....

ends with 500, "{"error":{"code":500,"message":"Undefined index: id"}}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions