{"id":20887667,"url":"https://github.com/opsway/magento-mod-onelogin","last_synced_at":"2025-05-12T19:33:58.449Z","repository":{"id":14828515,"uuid":"17551294","full_name":"opsway/magento-mod-onelogin","owner":"opsway","description":"Magento Admin - Onelogin integration (SAML)","archived":false,"fork":false,"pushed_at":"2016-01-14T20:59:46.000Z","size":131,"stargazers_count":9,"open_issues_count":3,"forks_count":8,"subscribers_count":45,"default_branch":"master","last_synced_at":"2023-05-17T01:55:14.815Z","etag":null,"topics":["magento-module","onelogin","opsway-opensource","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opsway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-08T21:23:44.000Z","updated_at":"2019-03-16T04:30:36.000Z","dependencies_parsed_at":"2022-09-23T23:21:37.810Z","dependency_job_id":null,"html_url":"https://github.com/opsway/magento-mod-onelogin","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-onelogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-onelogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-onelogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-onelogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsway","download_url":"https://codeload.github.com/opsway/magento-mod-onelogin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225149310,"owners_count":17428548,"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":["magento-module","onelogin","opsway-opensource","php"],"created_at":"2024-11-18T08:21:50.374Z","updated_at":"2024-11-18T08:21:50.986Z","avatar_url":"https://github.com/opsway.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Magento Admin - Onelogin integration (SAML)\n===========================================\n\nMagento module that makes it possible to login to Magento Admin via [Onelogin](http://onelogin.com) Identity provider\n\nMagento versions support\n------------------------\nCompatible with Magento CE 1.4+, Magento EE 1.9+\n\nHow does it work?\n-----------------\n\nModule adds a link \"Login via Onelogin\" on backend login form. Following this links initiates series of redirects that are described by [SAML 2.0 standart](http://en.wikipedia.org/wiki/SAML_2.0)\n\nUser authenticates against onelogin.com application and then information about user email is sent to Magento. Magento authenticate user by email and let him in.\n\n\nUsage\n--------------\n\n1. You should create application in Onelogin.com\n\nWe are using \"OneLogin SAML Test (IdP)\" as a base.\nYou can set Credentials as \"Shared\" and put Email you need to let all users login through one Magento account\n\nYou should copy two things:\n- application ID, which can be found in url: yourcompany.onelogin.com/apps/123456\n- X.509 certificate\n\n2. Now you can copy module to your Magento folder and configure it.\nGo to System-\u003eConfiguration-\u003eDeveloper-\u003eOnelogin and put there the required settings.\n\n3. Flush Magento caches and you are done - you can now click on \"Login via Onelogin\" and see how magic happens\n\n\nUser auto-creation\n--------------\nYou can enable Onelogin module to create users based on data supplied by IdP\nJust enable System-\u003eConfiguration-\u003eDeveloper-\u003eOnelogin-\u003eCreate user if not exists \n\n\nYou'll need to map fields in Magento to those in Onelogin.\nCommon field names for the attributes are:\n\n  * Username:  User.Username\n  * Email: User.email\n  * First Name: User.FirstName\n  * Last Name: User.LastName\n  * Role: memberOf\n\nIf the required attributes are not provided by the IdP, the user account can’t be created.\n(if the account already exists, only the email is required to log in).\n\nWhen creating a new account, Magento will try to map the Onelogin provided role to a Magento Role.\n\nAs soon as Magento role names might not be the same as Onelogin role names, module enables you to map them. You have three separate fields to map Magento-Onelogin pairs.\nYou can map several Onelogin roles to single Magento role separating them with comas.\n\nIf the magento account does not have a “Magento Admin Role” like “Administrators”, then the user will not be allowed to access to the admin panel.\n\nCredits\n--------------\n - Hugely inspired by https://github.com/Flagbit/magento-openid\n - and based on SAML implementation of https://github.com/onelogin/php-saml\n - also xmlseclibs are used from https://code.google.com/p/xmlseclibs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Fmagento-mod-onelogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsway%2Fmagento-mod-onelogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Fmagento-mod-onelogin/lists"}