Skip to content

Commit

Permalink
Merge pull request #53 from ochanoco/docs/user-id
Browse files Browse the repository at this point in the history
docs: show how to obatain user id
  • Loading branch information
akakou authored Nov 9, 2023
2 parents 22aa592 + 3a2ce87 commit 53ab4d6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,18 @@ white_list_path:
scheme: http
```

### 5. Implement validation of the token

Update your servers to check the token.

The token is on the HTTP header at `X-Torima-Proxy-Token`, so validate it on your source code.

### 6. Deploy
### 5. Deploy

Deploy the server using the following command:

```sh
docker-compose up
```

## Tips

The user ID is on the `X-Torima-UserID` header on your server.

## Example

[This repository](https://github.com/ochanoco/torima-demo) shows the example.
Expand Down

0 comments on commit 53ab4d6

Please sign in to comment.