customer_source_id
and customer_email
.customer_source_id
. A Customer Token is an expiring JWT signed by Iron Plans that identifies and authorizes a Customer to manage their Teams, Plan, and Billing./customers/v1/token
after you've authenticated the user for every page that needs Customer information (most likely all of them). The token returned should be made available to the Client-side SDK init
function however your backend framework handles rendering.POST /ip/customers-token
. It doesn't need to accept any parameters. The response must include the token
returned from /customers/v1/token
.OIDC_ID_TOKEN
for your auth provider.Customer
client-side as early in the page's lifecycle as possible:audience
and issuer
claims before issuing a Customer Token for the token's sub
.projectId
to your Firebase project ID.
https://console.firebase.google.com/project/YOUR-PROJECT-ID​audience
and issuer
claims using the projectId
configured before issuing a Customer Token for the token's sub
.