Remove redundant Quick Start section - bearer token already covered in each deployment section
This commit is contained in:
parent
79efef3ac2
commit
5c9c5d06ef
1 changed files with 0 additions and 15 deletions
15
README.md
15
README.md
|
|
@ -72,21 +72,6 @@ For building from source, see the [src/README.md](src/README.md) file.
|
||||||
AUTHELIA_API_DEVELOPMENT_MODE=true sudo ./install-authelia-api.sh
|
AUTHELIA_API_DEVELOPMENT_MODE=true sudo ./install-authelia-api.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start
|
|
||||||
|
|
||||||
**Get your bearer token:**
|
|
||||||
|
|
||||||
- **Docker:** The token is whatever you set as `session.secret` in your `configuration.yml`
|
|
||||||
```bash
|
|
||||||
curl -H "Authorization: Bearer your-session-secret-value" http://localhost:8080/api/health
|
|
||||||
```
|
|
||||||
|
|
||||||
- **Bare metal:** Read it from your existing Authelia configuration
|
|
||||||
```bash
|
|
||||||
grep -A2 "session:" /opt/authelia/configuration.yml | grep "secret:" | awk '{print $2}'
|
|
||||||
curl -H "Authorization: Bearer THAT_VALUE" http://127.0.0.1:8080/api/health
|
|
||||||
```
|
|
||||||
|
|
||||||
## API Testing with Postman
|
## API Testing with Postman
|
||||||
|
|
||||||
Postman collection and environment files are provided for API testing:
|
Postman collection and environment files are provided for API testing:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue