{"id":16397966,"url":"https://github.com/renatodex/multipassify","last_synced_at":"2025-06-22T19:33:20.084Z","repository":{"id":56884792,"uuid":"97875762","full_name":"renatodex/multipassify","owner":"renatodex","description":"Shopify Multipass module for Ruby","archived":false,"fork":false,"pushed_at":"2017-07-20T23:21:34.000Z","size":12,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T20:45:00.577Z","etag":null,"topics":["api","integration","multipass","oauth","ruby","shopify"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renatodex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-20T20:30:05.000Z","updated_at":"2021-03-04T17:17:43.000Z","dependencies_parsed_at":"2022-08-20T13:00:07.138Z","dependency_job_id":null,"html_url":"https://github.com/renatodex/multipassify","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatodex%2Fmultipassify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatodex%2Fmultipassify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatodex%2Fmultipassify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatodex%2Fmultipassify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renatodex","download_url":"https://codeload.github.com/renatodex/multipassify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347814,"owners_count":19456998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","integration","multipass","oauth","ruby","shopify"],"created_at":"2024-10-11T05:11:28.844Z","updated_at":"2025-02-11T18:32:30.403Z","avatar_url":"https://github.com/renatodex.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Multipassify](https://dl.dropboxusercontent.com/u/3438271/apps_page_hero.png)\n\n# Multipassify\nShopify Multipass module for Ruby\n\n[Shopify](http://shopify.com) provides a mechanism for single sign-on known as Multipass.  Multipass uses an AES encrypted JSON hash and multipassify provides functions for generating tokens\n\nMore details on Multipass with Shopify can be found [here](http://docs.shopify.com/api/tutorials/multipass-login).\n\n## Installation\n\u003cpre\u003e\n    gem install multipassify\n\u003c/pre\u003e\n\n## Usage\n\nTo use Multipass an Enterprise / Plus plan is required. The Multipass secret can be found in your shop Admin (Settings \u003e Checkout \u003e Customer Accounts).\nMake sure \"Accounts are required\" or \"Accounts are optional\" is selected and Multipass is enabled.\n\n``` ruby\n  require 'multipassify'\n\n  # Construct the Multipassify encoder\n  multipassify = Multipassify.new 'SHOPIFY MULTIPASS SECRET'\n\n  # Create your customer data hash\n  customer_data = { email: 'test@example.com', remote_ip:'USERS IP ADDRESS', return_to:\"http://some.url\"}\n\n  # Encode a Multipass token\n  token = multipassify.encode(customer_data)\n\n  # Generate a Shopify multipass URL to your shop\n  url = multipassify.generate_url(customer_data, 'yourstorename.myshopify.com')\n\n  # Generates a URL like:  https://yourstorename.myshopify.com/account/login/multipass/\u003cMULTIPASS-TOKEN\u003e\n```\n\n## Information \u0026 Credits\nThis is a Ruby Port from [GitHub - beaucoo/multipassify: Shopify Multipass module for Node.js](https://github.com/beaucoo/multipassify).\nCredits to @beaucoo and Shopify Multipass documentation!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatodex%2Fmultipassify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenatodex%2Fmultipassify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatodex%2Fmultipassify/lists"}