Sign inSign up

oskarq/mock-oauth2-server

By oskarq

•Updated almost 3 years ago

This complete image with volumes based on https://github.com/navikt/mock-oauth2-server

Image
0

7.5K

oskarq/mock-oauth2-server repository overview

This complete image with volumes based on https://github.com/navikt/mock-oauth2-server⁠

⁠Run:

docker run -d -p 8080:8080 oskarq/mock-oauth2-server:2.1.0

⁠How to test it

  1. Check if the server is up

curl -X GET http://localhost:8080/isalive

response : alive and well

  1. How to get token

curl -X POST http://localhost:8080/token⁠ -d "grant_type=client_credentials&client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]"

Tag summary

Content type

Image

Digest

sha256:03882258b…

Size

101.6 MB

Last updated

almost 3 years ago

docker pull oskarq/mock-oauth2-server:2.1.0