26 lines
602 B
Markdown
Executable file
26 lines
602 B
Markdown
Executable file
|
|
# Keycloak WebDav
|
|
|
|
This project is meant to be a WebDav Server using Keycloak roles for it's [Principals](https://sabre.io/dav/principals/).
|
|
|
|
## Requirements
|
|
|
|
- PHP
|
|
- Composer
|
|
- A running keycloak instance
|
|
- A Client with `Direct access grants` enabled
|
|
|
|
## Configuration
|
|
|
|
To configure the server, you just need to create a `.env` file following the example.
|
|
|
|
Do not forget to create the users_path, as well as to not forget to add a final `/` to the path.
|
|
|
|
## Installation
|
|
|
|
In order to start the server, simply run the following commands:
|
|
|
|
```sh
|
|
composer update
|
|
php -S localhost:8080 index.php
|
|
```
|