Sitecore Marketplace App - Authentication, Testing & Conclusion (Part 2)

📖 4 min read

In the previous blog, we configured the app and ran it locally. In this next step, we will authorize the app and validate its authentication flow. We will also test the app using both extension points: Standalone and Page Builder Panel.

Here’s the series so far:

  1. Sitecore Marketplace Apps: Overview and Why They Matter
  2. Build Fullstack Sitecore Marketplace App with Next.js & shadcn (Part 1)
  3. Sitecore Marketplace App: Authentication, Testing & Conclusion (Part 2)

Developer Setup (Part 2): Authorize & Test Your Marketplace App.

This guide continues from Step 3 in Part 1. If you haven’t completed those steps, check the previous guide first.

Step 4: Authorize Marketplace App on Sitecore Portal

Open “https://localhost:3000” in a new browser tab. This triggers the OAuth flow and lets you authorize the app.

Authorize Marketplace App on Sitecore Portal

After authorization, reopen the app from the Sitecore portal to verify it. You can now explore its features.

Common Issue:

The first time you open the app in the Sitecore Cloud portal, you may see CORS errors with auth.sitecorecloud.io because the OAuth flow gets blocked inside the embedded view.

To fix this, open your app URL once in a separate tab, complete OAuth, then return to the portal.

Issue - Auth Sitecore Cloud Refused to connect

Step 5: Open Your Marketplace App in XM Cloud and Verify

Since we enabled two extension points during configuring the app—Standalone and Page Builder context panel—let’s try opening the app from both.

Standalone:

On the Sitecore Cloud portal home page, scroll down to the Apps section. Find your app and click it. This opens the app in Standalone mode.

Standalone - App View in Sitecore Cloud Portal

Page builder context panel:

  • Open your XMC or SitecoreAI instance where the app is installed. Navigate to the Page Builder and ensure you’re on the Editor tab (check the top navigation in Page Builder).

  • Look for the Apps icon—it’s the third icon from the top-right corner, after the Publish button.

  • Click the icon and select your application.

    Marketplace App Icon in Sitecore Page Builder

  • Your app should now appear inside the Page Builder panel.

    Page builder context panel - App View in Sitecore Cloud Portal

Conclusion

Your app is now up and running. The home route loads by default unless you changed the extension point settings.

The page includes client-side and server-side Marketplace SDK examples. Test them to confirm everything works.

Was this guide helpful?

If you have questions, feedback, or ran into any setup issues, feel free to share them in the comments - we’d love to hear from you!

Stay tuned for more articles in this series.


About Me

Profile Picture - Ravindra Mishra

My name is Ravindra Mishra. I am a Sitecore Consultant with over 7 years of experience as an IT professional, including 3 years of specialized experience with Sitecore. I love traveling, exploring new places, and capturing natural photos with my mobile phone.