Skip to content

organization_id is nil errorΒ #18

@dpep

Description

@dpep

Hey, I'm working through the ruby sso example app and could use some help. I set up Google OAuth credentials, configured my WorkOS dashboard, and got the app running. The login button sends me to Google, which sends me back to localhost, which explodes with:
Parameter 'organization_id': Can't set WorkOS::Types::ProfileStruct.organization_id to nil

this is in the /auth handler: https://github.com/workos/ruby-example-applications/blob/main/ruby-sso-example/app.rb#L50

further down the stack:
response = client.request(post_request(path: '/sso/token', body: body)) (code) returns 422 Unprocessable Entity when I ran it in a debugger

The app does work with your Okta dummy org, which suggests I've got the fundamentals in place. Any ideas on how to get Google OAuth working?

image

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