Hi there,
There currently is not a way to test this button prior to publishing the app, but so long as the ‘OAuth Installation URL’ in the Listing Details is pointing to the correct URL, then you should be good to go. The “Add App” button is basically just a redirect button to the URL you’ve input for Installation.
Hi ChristianPaget, thank for your answer. From my app, i can detect who is clicking that button. But when the request is from Klaviyo, i don’t know how to detect the user, which params will you pass in that ‘OAuth Installation URL’ or could you help me how to detect the user. Thanks.
Essentially the way identification works when authorizing from the Klaviyo end is that the user is redirected to your website’s login page, and then you check to see if the user is logged into your site/app using the method you use to track this information. If they are, you can the redirect them to the Klaviyo authorize URL automatically, and if not, they need to log in prior to getting redirected.
I think this article is relevant to your question, but basically, we’re not passing any identifiers from our end, and identification needs to be done on your site.
thank you @ChristianPaget, your answer help a lot