https://github.com/simplesamlphp/simplesamlphp-module-adfs
This module adds support for WS-Federation
https://github.com/simplesamlphp/simplesamlphp-module-adfs
Last synced: 9 months ago
JSON representation
This module adds support for WS-Federation
- Host: GitHub
- URL: https://github.com/simplesamlphp/simplesamlphp-module-adfs
- Owner: simplesamlphp
- License: lgpl-2.1
- Created: 2019-03-13T13:48:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T20:52:21.000Z (10 months ago)
- Last Synced: 2025-04-10T21:35:27.261Z (10 months ago)
- Language: PHP
- Size: 273 KB
- Stars: 5
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ADFS Module

[](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-adfs/?branch=master)
[](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-adfs)
[](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-adfs)
## Install
Install with composer
```bash
vendor/bin/composer require simplesamlphp/simplesamlphp-module-adfs
```
## Configuration
Next thing you need to do is to enable the module: in
`config.php`, search for the `module.enable` key and set `adfs` to true:
```php
'module.enable' => [
'adfs' => true,
…
],
```
View samples in `metadata-templates` for defining your idp and any relying
parties/sps.
### Tips for admins new to WS-Fed
* A `realm` is similar to an entityId from SAML. `adfs-sp-remote.php` metadata
array is based on `realm`. An IP STS is similar to an IdP.
* Some WS-Fed Relying Party applications want the assertion lifetime to be
longer than the application's session lifetime. If not, the application will
send the user to the IdP to login again, hoping for a longer lived assertion.
SSP's default assertion lifetime is 5 minutes while SharePoint, by default,
wants 10 minutes. Use the `assertion.lifetime` in `adfs-sp-remote.php` to set
the time greater than that set in SharePoint (which can be configured by
adjusting `LogonTokenCacheExpirationWindow`)