Related Product
API / People / Groups / OpenID Connect
Describe the question
We authenticate users through Planning Center OIDC, then use a dedicated server-side PAT to check their People status and Groups memberships.
OIDC provides iss, sub, and organization_id, while the People and Groups APIs identify a person using Person.id. We do not want to assume that a numeric-looking sub equals Person.id or use email as the identity join.
Could you clarify:
- Is OIDC
sub contractually equal to a People or Groups Person.id?
- If not, can a PAT resolve
(iss, sub, organization_id) to a Person.id?
- Otherwise, is the supported approach to call
/people/v2/me with the user's OAuth token, store its Person.id, discard the token, and use the PAT for later checks?
- What scopes and minimum permissions does
/people/v2/me require?
We reviewed #278, #766, #1271, and #1397, but none appears to define this mapping.
What have you tried that worked?
OIDC returns sub and organization_id; /people/v2/me returns the current OAuth user's Person resource.
What have you tried that didn't work?
We found no documented mapping from OIDC sub to Person.id.
I have..
Related Product
API / People / Groups / OpenID Connect
Describe the question
We authenticate users through Planning Center OIDC, then use a dedicated server-side PAT to check their People status and Groups memberships.
OIDC provides
iss,sub, andorganization_id, while the People and Groups APIs identify a person usingPerson.id. We do not want to assume that a numeric-lookingsubequalsPerson.idor use email as the identity join.Could you clarify:
subcontractually equal to a People or GroupsPerson.id?(iss, sub, organization_id)to aPerson.id?/people/v2/mewith the user's OAuth token, store itsPerson.id, discard the token, and use the PAT for later checks?/people/v2/merequire?We reviewed #278, #766, #1271, and #1397, but none appears to define this mapping.
What have you tried that worked?
OIDC returns
subandorganization_id;/people/v2/mereturns the current OAuth user's Person resource.What have you tried that didn't work?
We found no documented mapping from OIDC
subtoPerson.id.I have..