evilpete
I added 2nd Login redirect URIs of “http://127.0.0.1:5000/oidc/callback” and it started to work.
the hint that this was the problem was the calling URL containing the error message having the string “redirect_uri=http%3A%2F%2F127.0.0.1%3A5000%2Foidc%2Fcallback” embeded in it