Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minvws/nl-uzipoc-php-laravel
https://github.com/minvws/nl-uzipoc-php-laravel
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/minvws/nl-uzipoc-php-laravel
- Owner: minvws
- License: eupl-1.2
- Created: 2021-10-14T12:26:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T08:56:38.000Z (6 months ago)
- Last Synced: 2024-07-08T11:06:26.160Z (6 months ago)
- Language: PHP
- Size: 792 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# UziPoc Laravel / PHP OpenID connect client example
This client provides an example how to connect to the https://github.com/minvws/nl-uzipoc-max OIDC service.
Or another OpenID Connect service that uses PKCE flow.> [!CAUTION]
> This project is a proof of concept and should not be used in production. This project currently runs on an older Laravel version and will be updated in the future.## Requirements
This PHP example is tested with `php 8.0`.After checkout, please run the following command to install the dependencies:
```
make setup
```## Registration
To use this client an RSA certificate needs to be provided to the
UziPoc OIDC service. The matching key needs te be configured in the .env.Please configure the following fields in the .env file:
```
OIDC_ISSUER=""
OIDC_CLIENT_ID=""
OIDC_CLIENT_SECRET=""
OIDC_ADDITIONAL_SCOPES=""
OIDC_DECRYPTION_KEY_PATH=""
```The `OIDC_DECRYPTION_KEY_PATH` needs to be the path to the private key file (e.g. `/secrets/key.pem`) if the user info is encrypted.
## Run locally
You can run this project by running the following command:
```
make run
```To visit the login page, open the browser and navigate to `http://localhost:8000/login`.