fix(exampleop): pass the issuer interceptor to login

This commit is contained in:
Tim Möhlmann 2023-08-18 17:34:29 +02:00
parent 37b5de0e82
commit 508f6d719c
4 changed files with 14 additions and 12 deletions

View file

@ -13,7 +13,7 @@ func main() {
//we will run on :9998
port := "9998"
//which gives us the issuer: http://localhost:9998/
issuer := fmt.Sprintf("http://localhost:%s/", port)
issuer := fmt.Sprintf("http://localhost:%s/oidc/", port)
// the OpenIDProvider interface needs a Storage interface handling various checks and state manipulations
// this might be the layer for accessing your database