Coder Social home page Coder Social logo

saml-bundle's Introduction

SAMLBundle

Symfony Bundle for Single Sign On with SAML in PIMCORE

  • Pimcore == 5.4.4

SAML Concept!

  • SAML stand for Security Assertion Markup Language.
  • It is used for exchanging Authorizationand and Authentication data between parties, in particular, between Service Provider and Identity Provider.
  • SAML Service Provider is a system entity that receives and accepts authentication assertions in conjunction with a SSO.
  • SAML Identity Provider is a system entity that issues authentication assertions in conjunction with a SSO.

Installation...

  • Add the package simplesamlphp/saml2 in the existing pimcore application using the command composer require simplesamlphp/saml2.
  • Add the SAMLBundle under the src folder.
  • Insert the Federation metadata obtained from the service provider application in the SAMLBundle config. (Federation metadata, is a xml documnet that provides us data that describes a Relying Party or Claims Provider).
  • Add the config for the identity provider. Eg.
    • entityID: <i.e. spn:f0c4f90b-56d3-49b7-8021-53fd09714e46>
    • NameIDFormat: urn:oasis:names:tc:SAML:2.0:nameid-format:transient
    • replyURL: <i.e http://dev.local.com/saml/sso>
    • baseURLPath: /

How It Works---

  • First We had override the pimcore login page and inserted our customized login page having a sso login. (outlook)
  • When user click this link, the SAMLBundle creates a SAML 2.0 request with the provided configuration using simplesaml/saml2 library and sent it to the outlook login page.
  • If the user is already logged in, the response from the outlook is given instantly, otherwise the response is obtained by the application after a successful login in the outlook.

saml-bundle's People

Contributors

sabir-jamia avatar

Watchers

Sebastian avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.