No description
  • Go 95.5%
  • HTML 3%
  • Makefile 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-04 00:00:55 +05:30
servicea feat: IDP demo 2026-09-04 00:00:55 +05:30
serviceb feat: IDP demo 2026-09-04 00:00:55 +05:30
Makefile feat: IDP demo 2026-09-04 00:00:55 +05:30
README.md feat: IDP demo 2026-09-04 00:00:55 +05:30

Oauth2 example

This repo contains a small example of how oauth2 should be used across services.

How to run

  • run servicea using make servicea
  • open http://localhost:8080, create some users and also new client serviceb with authentication enabled and redirect uri as http://localhost:4000/auth/callback.
  • run serviceb using make serviceb
  • visit http://localhost:4000.