{"id":21826420,"url":"https://github.com/byjpr/plug_shopify_embedded_switch","last_synced_at":"2026-05-19T06:35:22.515Z","repository":{"id":48575360,"uuid":"386789380","full_name":"byjpr/plug_shopify_embedded_switch","owner":"byjpr","description":"Switches auth between URL Params and JWT, designed for Shopify App Bridge","archived":false,"fork":false,"pushed_at":"2021-07-19T23:07:37.000Z","size":39,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-05T16:09:09.537Z","etag":null,"topics":["app-bridge","elixir","plug","shopify","shopify-app","shopify-embedded-applications"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byjpr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-16T23:36:19.000Z","updated_at":"2021-07-19T23:07:39.000Z","dependencies_parsed_at":"2022-09-26T20:02:16.456Z","dependency_job_id":null,"html_url":"https://github.com/byjpr/plug_shopify_embedded_switch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/byjpr/plug_shopify_embedded_switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byjpr%2Fplug_shopify_embedded_switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byjpr%2Fplug_shopify_embedded_switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byjpr%2Fplug_shopify_embedded_switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byjpr%2Fplug_shopify_embedded_switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byjpr","download_url":"https://codeload.github.com/byjpr/plug_shopify_embedded_switch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byjpr%2Fplug_shopify_embedded_switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app-bridge","elixir","plug","shopify","shopify-app","shopify-embedded-applications"],"created_at":"2024-11-27T18:03:56.983Z","updated_at":"2026-05-19T06:35:22.500Z","avatar_url":"https://github.com/byjpr.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlugShopifyEmbeddedSwitch\nShould you look for the URL Params or the JWT? PlugShopifyEmbeddedSwitch tests the current `conn` and informs your app which configuration to pay attention to.\n\n## What data does this plug create?\nThis plug will set three keys in the private object.\n\n1. `conn.private[:shopify_url_config]` Shop Origin URL\n2. `conn.private[:shopify_jwt_config]` JWT Object\n3. `conn.private[:shop_origin_type]` will return either `:jwt` or `:url`\n\n## Usage\n\n1. Follow Installation instructions below\n2. Add plug to your pipeline `plug PlugShopifyEmbeddedSwitch`\n\n## Installation\n\nThe package can be installed by adding `plug_shopify_embedded_switch` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:plug_shopify_embedded_switch, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyjpr%2Fplug_shopify_embedded_switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyjpr%2Fplug_shopify_embedded_switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyjpr%2Fplug_shopify_embedded_switch/lists"}