Skip to content

Instantly share code, notes, and snippets.

FROM openjdk:8-jre-alpine
RUN apk update \
&& apk add bash tar curl wget sudo
RUN curl -sSL https://raw.githubusercontent.com/conjurinc/summon/master/install.sh | bash \
&& mkdir /usr/local/lib/summon \
&& curl -sSL https://github.com/conjurinc/summon-conjur/releases/download/v0.2.0/summon-conjur_v0.2.0_linux-amd64.tar.gz | tar xvz -C /usr/local/lib/summon
@ggonchar
ggonchar / swagger_oauth2_client_grant.yaml
Created September 30, 2016 09:01
Swagger 2.0 yaml spec for OAuth 2.0 implementation with client grant
swagger: '2.0'
info:
title: Authentication API
description: |
Implementation of [OAuth 2.0](https://tools.ietf.org/html/rfc6749 "Docs") with Client Credentials Grant type
version: "1.0.0"
host: localhost:3000
schemes:
- http
- https