Skip to content

LinkedIn OAuth fails with org scopes for personal accounts #1243

@fatherlinux

Description

@fatherlinux

Description

The default LinkedIn OAuth scopes in linkedin.provider.ts include organization-level scopes (rw_organization_admin, w_organization_social, r_organization_social) that require the Community Management API product approval from LinkedIn.

Personal LinkedIn accounts that haven't been granted this API product get an OAuth error during the authorization flow.

Steps to reproduce

  1. Set up Postiz with LinkedIn integration
  2. Attempt to connect a personal LinkedIn account
  3. OAuth flow fails because the requested scopes require Community Management API approval

Expected behavior

Personal accounts should be able to connect with only the scopes needed for personal posting: openid, profile, w_member_social.

Environment

  • Postiz: latest main branch
  • Self-hosted deployment

Metadata

Metadata

Assignees

No one assigned

    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