https://github.com/simplesamlphp/simplesamlphp-module-saml2debug
A module to debug encoding and decoding of SAML message for both the HTTP-redirect and HTTP-POST bindings.
https://github.com/simplesamlphp/simplesamlphp-module-saml2debug
Last synced: 9 months ago
JSON representation
A module to debug encoding and decoding of SAML message for both the HTTP-redirect and HTTP-POST bindings.
- Host: GitHub
- URL: https://github.com/simplesamlphp/simplesamlphp-module-saml2debug
- Owner: simplesamlphp
- License: lgpl-2.1
- Created: 2015-08-07T13:23:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-18T20:56:17.000Z (about 1 year ago)
- Last Synced: 2025-04-06T07:52:51.540Z (10 months ago)
- Language: PHP
- Size: 105 KB
- Stars: 4
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SAML 2.0 debugger module

[](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-saml2debug)
[](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-saml2debug/?branch=master)
[](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-saml2debug)
[](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-saml2debug)
This module allows you to debug SAML 2.0 messages by decoding or encoding them according to the binding they are using,
supporting both the HTTP-Redirect and HTTP-POST bindings.
## Installation
Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following
command in the root of your SimpleSAMLphp installation:
```shell
composer.phar require simplesamlphp/simplesamlphp-module-saml2debug:dev-master
```
where `dev-master` instructs Composer to install the `master` branch from the Git repository. See the
[releases](https://github.com/simplesamlphp/simplesamlphp-module-saml2debug/releases) available if you
want to use a stable version of the module.
## Configuration
Next thing you need to do is to enable the module:
in `config.php`, search for the `module.enable` key and set `saml2debug` to true:
```php
'module.enable' => [ 'saml2debug' => true, … ],
```
## Usage
Once installed, you can use the module by going to the *configuration* tab in the web interface of SimpleSAMLphp. You will
see a link there to the debugger, allowing you to encode and decode SAML 2.0 messages, selecting the binding to use.