Hi, I am having the Same Issue Here.
After my login flow, Hydra redirects to the Initial URL.
hydra_1 | time="2020-02-05T13:06:56Z" level=info msg="started handling request" method=GET remote="172.19.0.1:42918" request="/oauth2/auth?client_id=SomeServiceID&response_type=code&state=asdlkfex&redirect_uri=http://localhost:8080"
hydra_1 | time="2020-02-05T13:06:56Z" level=info msg="completed handling request" measure#hydra/public: http://127.0.0.1:4444/.latency=1879300 method=GET remote="172.19.0.1:42918" request="/oauth2/auth?client_id=SomeServiceID&response_type=code&state=asdlkfex&redirect_uri=http://localhost:8080" status=302 text_status=Found took=1.8793ms
dashboard-login-provider_1 | {"Method":"LoginScreenHandler","level":"debug","msg":"Login Screen Handler","time":"2020-02-05T13:06:56.1439283Z"}
dashboard-login-provider_1 | {"Method":"LoginScreenHandler","level":"trace","msg":"Setting CSRF cookie","time":"2020-02-05T13:06:56.1441644Z"}
dashboard-login-provider_1 | {"Method":"LoginScreenHandler","level":"trace","msg":"Csrf template file \u003cinput type=\"hidden\" name=\"gorilla.csrf.Token\" value=\"/fuwZYB5Wt7Dy9p0BnBWBDsK0QG2hhSdXUofRtTiao8kVHY5ipDzAzAV3txVbaWIiFyNfTktgesR9Kq4kAyoNA==\"\u003e","time":"2020-02-05T13:06:56.1442568Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"debug","msg":"Login Endpoint Handler","time":"2020-02-05T13:07:04.8201867Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Form Submitted","time":"2020-02-05T13:07:04.8202552Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Url http://id:8080/identity/login","time":"2020-02-05T13:07:04.8203808Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Received response from the Identity service API {\"message\":\"Login Successful\"}","time":"2020-02-05T13:07:04.8384897Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"oauth2_authentication_csrf: oauth2_authentication_csrf=MTU4MDc1MjA5MnxEdi1CQkFFQ180SUFBUkFCRUFBQVB2LUNBQUVHYzNSeWFXNW5EQVlBQkdOemNtWUdjM1J5YVc1bkRDSUFJR0l3TURkaU9EVTNaVEl4TnpRNE1EVmlZakl5TTJFME5HWm1NV0UxT0RReXz33V9kPDKk4J30ug1tZ_n82Jv-V7wEqma_FGNzFh2yig==","time":"2020-02-05T13:07:04.8390199Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Hydra URL http://hydra:4445/oauth2/auth/requests/login/accept?login_challenge=a4130e08224748d698ae1b07c89b2f47","time":"2020-02-05T13:07:04.8393891Z"}
hydra_1 | time="2020-02-05T13:07:04Z" level=info msg="started handling request" method=PUT remote="172.19.0.5:39964" request="/oauth2/auth/requests/login/accept?login_challenge=a4130e08224748d698ae1b07c89b2f47"
hydra_1 | time="2020-02-05T13:07:04Z" level=info msg="completed handling request" measure#hydra/admin: http://127.0.0.1:4444/.latency=718000 method=PUT remote="172.19.0.5:39964" request="/oauth2/auth/requests/login/accept?login_challenge=a4130e08224748d698ae1b07c89b2f47" status=200 text_status=OK took="718µs"
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"{\"redirect_to\":\"http://127.0.0.1:4444/oauth2/auth?client_id=SomeServiceID\\u0026login_verifier=c1bc94396ca64eee8d690122bc010d04\\u0026redirect_uri=http%3A%2F%2Flocalhost%3A8080\\u0026response_type=code\\u0026state=asdlkfex\"}","time":"2020-02-05T13:07:04.8421329Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Login Response Body: map[redirect_to:http://127.0.0.1:4444/oauth2/auth?client_id=SomeServiceID\u0026login_verifier=c1bc94396ca64eee8d690122bc010d04\u0026redirect_uri=http%3A%2F%2Flocalhost%3A8080\u0026response_type=code\u0026state=asdlkfex]","time":"2020-02-05T13:07:04.8428352Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"trace","msg":"Redirect sent to: http://127.0.0.1:4444/oauth2/auth?client_id=SomeServiceID\u0026login_verifier=c1bc94396ca64eee8d690122bc010d04\u0026redirect_uri=http%3A%2F%2Flocalhost%3A8080\u0026response_type=code\u0026state=asdlkfex","time":"2020-02-05T13:07:04.8433414Z"}
dashboard-login-provider_1 | {"Method":"LoginEndpoint","level":"debug","msg":"End Login Endpoint","time":"2020-02-05T13:07:04.8439566Z"}
hydra_1 | time="2020-02-05T13:07:04Z" level=info msg="started handling request" method=GET remote="172.19.0.1:42938" request="/oauth2/auth?client_id=SomeServiceID&login_verifier=c1bc94396ca64eee8d690122bc010d04&redirect_uri=http%3A%2F%2Flocalhost%3A8080&response_type=code&state=asdlkfex"
hydra_1 | time="2020-02-05T13:07:04Z" level=error msg="An error occurred" debug="No CSRF value available in the session cookie" description="The request is not allowed" error=request_forbidden hint="You are not allowed to perform this action."
hydra_1 | time="2020-02-05T13:07:04Z" level=debug msg="Stack trace: \ngithub.com/ory/hydra/consent.validateCsrfSession\n\t/home/circleci/project/consent/helper.go:82\ngithub.com/ory/hydra/consent.(*DefaultStrategy).verifyAuthentication\n\t/home/circleci/project/consent/strategy_default.go:348\ngithub.com/ory/hydra/consent.(*DefaultStrategy).HandleOAuth2AuthorizationRequest\n\t/home/circleci/project/consent/strategy_default.go:966\ngithub.com/ory/hydra/oauth2.(*Handler).AuthHandler\n\t/home/circleci/project/oauth2/handler.go:623\ngithub.com/julienschmidt/httprouter.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/julienschmidt/[email protected]/router.go:334\ngithub.com/urfave/negroni.Wrap.func1\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:46\ngithub.com/urfave/negroni.HandlerFunc.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29\ngithub.com/urfave/negroni.middleware.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2007\ngithub.com/ory/hydra/x.RejectInsecureRequests.func1\n\t/home/circleci/project/x/tls_termination.go:55\ngithub.com/urfave/negroni.HandlerFunc.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29\ngithub.com/urfave/negroni.middleware.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38\ngithub.com/ory/x/metricsx.(*Service).ServeHTTP\n\t/go/pkg/mod/github.com/ory/[email protected]/metricsx/middleware.go:261\ngithub.com/urfave/negroni.middleware.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38\ngithub.com/ory/hydra/metrics/prometheus.(*MetricsManager).ServeHTTP\n\t/home/circleci/project/metrics/prometheus/middleware.go:26\ngithub.com/urfave/negroni.middleware.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38\ngithub.com/ory/x/reqlog.(*Middleware).ServeHTTP\n\t/go/pkg/mod/github.com/ory/[email protected]/reqlog/middleware.go:140\ngithub.com/urfave/negroni.middleware.ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38\ngithub.com/urfave/negroni.(*Negroni).ServeHTTP\n\t/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:96\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2802\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1890\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357"
hydra_1 | time="2020-02-05T13:07:04Z" level=info msg="completed handling request" measure#hydra/public: http://127.0.0.1:4444/.latency=4200100 method=GET remote="172.19.0.1:42938" request="/oauth2/auth?client_id=SomeServiceID&login_verifier=c1bc94396ca64eee8d690122bc010d04&redirect_uri=http%3A%2F%2Flocalhost%3A8080&response_type=code&state=asdlkfex" status=302 text_status=Found took=4.2001ms
hydra_1 | time="2020-02-05T13:07:08Z" level=info msg="started handling request" method=GET remote="172.19.0.1:42938" request="/.latency=4200100"
hydra_1 | time="2020-02-05T13:07:08Z" level=info msg="completed handling request" measure#hydra/public: http://127.0.0.1:4444/.latency=1936200 method=GET remote="172.19.0.1:42938" request="/.latency=4200100" status=404 text_status="Not Found" took=1.9362ms