Giter VIP home page Giter VIP logo

testid's Introduction

TestID

TestID - OpenID Connect Provider for testing and development environments.

This project is a simple OpenID Connect Provider that can be used for testing and development environments. It provides a simple way to test OAuth 2.0 and OpenID Connect flows. It is not intended for production use!

Check out TestID.

Development

docker compose -p cerberauth-testid -f docker-compose.yml -f docker-compose.dev.yml up -d

OAuth 2.0 Clients

Authorization Code Flow

Create a client for the authorization code flow:

hydra create client \
    --endpoint http://localhost:4445 \
    --grant-type authorization_code,refresh_token \
    --response-type code,id_token \
    --scope openid,offline,offline_access,profile,email \
    --token-endpoint-auth-method client_secret_post \
    --redirect-uri http://127.0.0.1:4446/callback

code_client_id="{set to client id from output}"
code_client_secret="{set to client secret from output}"
hydra perform authorization-code \
    --endpoint http://localhost:4444 \
    --client-id $code_client_id \
    --client-secret $code_client_secret

code_access_token="{set to access token from output}"
hydra introspect token $code_access_token

Thanks

This project used the following open-source projects:

  • Hydra - OpenID Connect and OAuth 2.0 Server
  • Oathkeeper - Identity & Access Proxy

License

This repository is licensed under the MIT License @ CerberAuth. You are free to use, modify, and distribute the contents of this repository.

testid's People

Contributors

emmanuelgautier avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar

testid's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

docker-compose
docker-compose.dev.yml
docker-compose.yml
  • oryd/hydra v2.2
  • oryd/hydra v2.2
  • oryd/hydra v2.2
  • postgres 16
  • oryd/oathkeeper v0.40
dockerfile
hydra-cleanup/Dockerfile
  • golang 1.23
hydra-login-consent/Dockerfile
  • node 21
  • golang 1.23
github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-go v5
gomod
hydra-cleanup/go.mod
  • go 1.22
  • github.com/ory/hydra-client-go/v2 v2.2.1
  • github.com/peterhellberg/link v1.2.0
hydra-login-consent/go.mod
  • go 1.22
  • github.com/gin-gonic/gin v1.10.0
  • github.com/ory/hydra-client-go/v2 v2.2.1
npm
hydra-login-consent/package.json
  • tailwindcss ^3.4.6
nvm
hydra-login-consent/.nvmrc
  • node 21

  • Check this box to trigger a request for Renovate to run again on this repository

Create an homepage

This homepage should describe the project with other Cerberauth products and what technologies are used to deployed this OpenID Connect Service ( ❤️ Ory Hydra).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.