Skip to content
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

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

Open
play-io opened this issue Feb 7, 2021 · 1 comment

Comments

@play-io
Copy link

play-io commented Feb 7, 2021

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"}}"

@malihassan20
Copy link

@play-io are you able to resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants