Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pingidentity/pf-agentless-ik-sample-php
These sample applications let you test your integration with the Agentless Integration Kit.
https://github.com/pingidentity/pf-agentless-ik-sample-php
Last synced: 5 days ago
JSON representation
These sample applications let you test your integration with the Agentless Integration Kit.
- Host: GitHub
- URL: https://github.com/pingidentity/pf-agentless-ik-sample-php
- Owner: pingidentity
- License: apache-2.0
- Created: 2020-07-14T23:06:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-25T16:17:01.000Z (about 3 years ago)
- Last Synced: 2024-11-07T17:31:53.187Z (about 2 months ago)
- Language: HTML
- Homepage: https://www.pingidentity.com/
- Size: 1.05 MB
- Stars: 1
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# PingFederate Agentless Integration Kit Sample Applications for PHP
## Overview
These sample applications let you test an integration with the Agentless Integration Kit. PingFederate acts as both the identity provider (IdP) and service provider (SP), showing the complete end-to-end configuration and user experience.
The package includes two PHP web applications, one for each of the IdP and SP roles. You can see the source code and deploy the applications easily using the built-in PHP webserver.
The included PingFederate configuration archive allows a single instance of PingFederate to run both sample applications.
## System requirements and dependencies
* PingFederate 8.x or later
* PingFederate Agentless Integration Kit 1.5 or later
* PHP 7.0 or later with the php_curl extension installed### Browser compatibility
The samples work with all major browsers, including Chrome, Firefox, and Microsoft Edge.
## Setup
### Deploying the PingFederate configuration archive
The included configuration archive creates the adapter instances and connections needed to run the sample applications.To deploy the configuration archive, import the `configuration-archive/data.zip` file through the administrator console or copy it to the drop-in-deployer directory. For instructions, see [Configuration archive](https://docs.pingidentity.com/csh?Product=pf-latest&topicname=oor1564002974031.html) in the PingFederate documentation.
**Caution:** Deploying the configuration archive will destroy your existing PingFederate configuration. We recommend that you test it on a fresh installation of PingFederate or back up your current configuration as shown in [Exporting an archive](https://docs.pingidentity.com/csh?Product=pf-latest&topicname=amd1564002974196.html) in the PingFederate documentation.
### Running the applications
You can run the applications with the built-in PHP server.**Note:** The settings in the PingFederate configuration archive use localhost:8080 for the IdP sample application and localhost:8081
for the SP sample application. If you want to use a different hostname or port, make the necessary changes.1. Go to the `sample-applications` directory of the project.
2. Start the built-in PHP webserver by entering the following command:
```php -S localhost:8080```
3. In your browser, go to the following URL to start IdP single sign-on flow:
```https://localhost:9031/sp/startSSO.ping?PartnerIdpId=PF-DEMO```## Modifying your application
When you are ready to make changes to your own application, see the examples in the `example-code` directory to help you get started.## Documentation
For the latest documentation, see [Agentless Integration Kit](https://docs.pingidentity.com/bundle/integrations/page/ygj1563994984859.html) in the Ping Identity [Support Home](https://support.pingidentity.com/s/).
## Known limitations
To keep the app simple and focused on interactions with PingFederate, it does not support browser page refreshes.
## Reporting bugs
Please use this project's issue tracker to report any bugs.
## License
This project is licensed under the Apache license. See the [LICENSE](LICENSE) file for more information.