Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/locona/ozz
examle go hydra keto oathkeeper oauth2 ory sample
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/locona/ozz
- Owner: locona
- Created: 2018-10-11T12:28:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:50:36.000Z (about 1 year ago)
- Last Synced: 2024-12-14T08:31:20.508Z (20 days ago)
- Topics: examle, go, hydra, keto, oathkeeper, oauth2, ory, sample
- Language: Go
- Homepage:
- Size: 17.6 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ozz
## Install
1. Setup middlewares.
```
make compose
```2. Install hydra commands.
```
cd $GOPATH/src/github.com/ory/hydra
HYDRA_LATEST=$(git describe --abbrev=0 --tags)
git checkout $HYDRA_LATESTdep ensure -vendor-only
go install \
-ldflags "-X github.com/ory/hydra/cmd.Version=$HYDRA_LATEST -X github.com/ory/hydra/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/hydra/cmd.GitHash=`git rev-parse HEAD`" \
github.com/ory/hydra
```3. Install oathkeeper commands.
```
cd $GOPATH/src/github.com/ory/oathkeeper
OATHKEEPER_LATEST=$(git describe --abbrev=0 --tags)
git checkout $OATHKEEPER_LATEST
dep ensure -vendor-only
go install \
-ldflags "-X github.com/ory/oathkeeper/cmd.Version=$OATHKEEPER_LATEST -X github.com/ory/oathkeeper/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/oathkeeper/cmd.GitHash=`git rev-parse HEAD`" \
github.com/ory/oathkeeper```
4. hydra clients 作成
```
make hydra.clients.import
```5. oathkeeper 作成
```
make oathkeeper.rules.import
```## Getting Started
1. Run client .
```
make client
```2. Run server.
```
make server
```