{"repo":"natf17/shopify-embedded-app","free":true,"listed":false,"github":"https://github.com/natf17/shopify-embedded-app","clone":"git clone https://github.com/natf17/shopify-embedded-app.git","description":"Enables any web app using Spring Security to operate as a Shopify embedded app.","language":"Java","stars":25,"topics":["shopify","spring-security","spring","spring-boot","spring-boot-2","shopify-embedded-applications"],"license":null,"category":"ecommerce","readme_excerpt":"Shopify Embedded App Authorization: Rebuilt for Spring Security 7 This application demonstrates how to tweak Spring Security to authorize a Shopify embedded app. Prerequisites - An environment using Java 24. - A Shopify development store (you can create one from your Dev Dashboard) - A Shopify app in the Dev Dashboard that can be used to test this project. You can create one from your Dev Dashboard and accept all the defaults. - Make note of scopes you want to add to the app - Maven Running the app 1. Git clone this project. 2. Obtain the following information from your app in the Dev Dashboard: - client id - save it in the env. variable app client id - client secret - save it in the env. variable app client secret 3. Save the scopes (comma-delimited list, no spaces) in an env. variable: app scopes - You can use write products as a test 4. Set the profile to dev (e.g. set the env. variable: SPRING PROFILES ACTIVE=dev ) 5. cd into the backend module: cd backend 5. Start the spring boot app: mvn spring-boot:run 6. Create a tunnel to make localhost:8080 publicly accessible. You can use ngrok. 7. In your Dev Dashboard, click on your app and click Create a version . - Enter the \"App Url\": https://{your-hostname}/app/shopify - Select \"Embed app in Shopify admin\" - Add all the scopes that are in the application.properties - Under \"Redirect URLs\", add: https://{your-hostname}/authorized/shopify - Click Release 8. In your Dev Dashboarrd, click on your app and under Home , click Instal","default_branch":null,"files":null,"tree":[],"storefront":"/r/natf17","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/natf17/shopify-embedded-app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}