Created
October 25, 2023 09:07
-
-
Save kamilkloch/16954dfd175cdee00cccc0c43f9b285d to your computer and use it in GitHub Desktop.
oauth-kratos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time=2023-10-25T08:58:40Z level=info msg=started handling request http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:GET path:/self-service/login/browser query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] | |
time=2023-10-25T08:58:40Z level=info msg=[DEBUG] GET http://hydra:4445/admin/oauth2/auth/requests/login audience=application service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:58:40Z level=info msg=completed handling request http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:GET path:/self-service/login/browser query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate content-type:text/html; charset=utf-8 location:http://kamilk:3000/login?flow=0e9956e2-1a7c-48dc-9178-cbd788f37f01 vary:Cookie] size:93 status:303 text_status:See Other took:24.641169ms] | |
time=2023-10-25T08:58:40Z level=info msg=started handling request http_request=map[headers:map[accept:application/json, text/plain, */* connection:close cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". user-agent:axios/0.21.4] host:kratos:4433 method:GET path:/self-service/login/flows query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:172.19.0.4:48494 scheme:http] | |
time=2023-10-25T08:58:40Z level=info msg=[DEBUG] GET http://hydra:4445/admin/oauth2/auth/requests/login audience=application service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:58:40Z level=info msg=completed handling request http_request=map[headers:map[accept:application/json, text/plain, */* connection:close cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". user-agent:axios/0.21.4] host:kratos:4433 method:GET path:/self-service/login/flows query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:172.19.0.4:48494 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate content-type:application/json; charset=utf-8 vary:Cookie] size:2860 status:200 text_status:OK took:1.69902ms] | |
time=2023-10-25T08:59:21Z level=info msg=started handling request http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive content-length:181 content-type:application/x-www-form-urlencoded cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". origin:http://kamilk:3000 referer:http://kamilk:3000/ upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:POST path:/self-service/login query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] | |
time=2023-10-25T08:59:21Z level=debug msg=Running ExecuteLoginPostHook. audience=application flow_method=password http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive content-length:181 content-type:application/x-www-form-urlencoded cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". origin:http://kamilk:3000 referer:http://kamilk:3000/ upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:POST path:/self-service/login query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] identity_id=a55f1edc-3424-4f81-bf28-fe3b49e9124c service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:59:21Z level=info msg=Identity authenticated successfully and was issued an Ory Kratos Session Cookie. audience=audit http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive content-length:181 content-type:application/x-www-form-urlencoded cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". origin:http://kamilk:3000 referer:http://kamilk:3000/ upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:POST path:/self-service/login query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] identity_id=a55f1edc-3424-4f81-bf28-fe3b49e9124c service_name=Ory Kratos service_version=v1.0.0 session_id=7c774ead-2ee3-4e65-b431-bf1b24dcda45 | |
time=2023-10-25T08:59:21Z level=info msg=[DEBUG] PUT http://hydra:4445/admin/oauth2/auth/requests/login/accept audience=application service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:59:21Z level=info msg=completed handling request http_request=map[headers:map[accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-encoding:gzip, deflate accept-language:en-US,en;q=0.5 connection:keep-alive content-length:181 content-type:application/x-www-form-urlencoded cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". origin:http://kamilk:3000 referer:http://kamilk:3000/ upgrade-insecure-requests:1 user-agent:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0] host:kamilk:4433 method:POST path:/self-service/login query:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". remote:192.168.93.61:56224 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate location:http://kamilk:4444/oauth2/auth?client_id=d1bb500e-db51-441b-88d2-ddd14a4966a5&login_verifier=e969ec07616e4f329d24ea2854ba912c&redirect_uri=http%3A%2F%2Fkamilk%3A8090%2Fhub%2Fapi%2Frest%2Foauth2%2Finteractive%2Flogin%2Fab702e5a-4370-439d-a18c-747512875d48%2Fland&response_type=code&scope=openid&state=Lx9rqXtn set-cookie:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". vary:Cookie] size:0 status:303 text_status:See Other took:235.605321ms] | |
time=2023-10-25T08:59:45Z level=info msg=started handling request http_request=map[headers:map[accept:application/json, text/plain, */* connection:close user-agent:axios/0.21.4] host:kratos:4434 method:GET path:/admin/identities/a55f1edc-3424-4f81-bf28-fe3b49e9124c query:<nil> remote:172.19.0.4:57810 scheme:http] | |
time=2023-10-25T08:59:45Z level=info msg=completed handling request http_request=map[headers:map[accept:application/json, text/plain, */* connection:close user-agent:axios/0.21.4] host:kratos:4434 method:GET path:/admin/identities/a55f1edc-3424-4f81-bf28-fe3b49e9124c query:<nil> remote:172.19.0.4:57810 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate content-type:application/json; charset=utf-8] size:547 status:200 text_status:OK took:2.853097ms] | |
time=2023-10-25T08:59:45Z level=info msg=started handling request http_request=map[headers:map[accept:application/json accept-encoding:gzip,deflate authorization:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". connection:Keep-Alive user-agent:Jersey/2.35 (Apache HttpClient 4.5.13)] host:kamilk:4433 method:GET path:/sessions/whoami query:<nil> remote:172.19.0.1:49662 scheme:http] | |
time=2023-10-25T08:59:45Z level=info msg=No valid session found. audience=audit error=map[debug: message:request does not have a valid authentication session reason:No active session was found in this request. stack_trace: | |
github.com/ory/kratos/session.(*ManagerHTTP).FetchFromRequest | |
/project/session/manager_http.go:239 | |
github.com/ory/kratos/session.(*Handler).whoami | |
/project/session/handler.go:194 | |
github.com/ory/kratos/x.NoCacheHandle.func1 | |
/project/x/nocache.go:21 | |
github.com/julienschmidt/httprouter.(*Router).ServeHTTP | |
/go/pkg/mod/github.com/julienschmidt/[email protected]/router.go:387 | |
github.com/ory/nosurf.(*CSRFHandler).handleSuccess | |
/go/pkg/mod/github.com/ory/[email protected]/handler.go:234 | |
github.com/ory/nosurf.(*CSRFHandler).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/handler.go:185 | |
github.com/urfave/negroni.Wrap.func1 | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:46 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/kratos/x.glob..func1 | |
/project/x/clean_url.go:15 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:284 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:142 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:92 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:104 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:234 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/ory/x/prometheusx.Metrics.instrumentHandlerStatusBucket.func1 | |
/go/pkg/mod/github.com/ory/[email protected]/prometheusx/metrics.go:115 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/ory/x/prometheusx.(*MetricsManager).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/prometheusx/middleware.go:41 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/x/metricsx.(*Service).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/metricsx/middleware.go:272 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/kratos/x.HTTPLoaderContextMiddleware.func1 | |
/project/x/httploadermiddleware.go:23 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 status:Unauthorized status_code:401] http_request=map[headers:map[accept:application/json accept-encoding:gzip,deflate authorization:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". connection:Keep-Alive user-agent:Jersey/2.35 (Apache HttpClient 4.5.13)] host:kamilk:4433 method:GET path:/sessions/whoami query:<nil> remote:172.19.0.1:49662 scheme:http] service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:59:45Z level=info msg=An error occurred while handling a request audience=application error=map[debug: message:The request could not be authorized reason:No valid session credentials found in the request. stack_trace: | |
github.com/ory/kratos/session.(*ManagerHTTP).FetchFromRequest | |
/project/session/manager_http.go:239 | |
github.com/ory/kratos/session.(*Handler).whoami | |
/project/session/handler.go:194 | |
github.com/ory/kratos/x.NoCacheHandle.func1 | |
/project/x/nocache.go:21 | |
github.com/julienschmidt/httprouter.(*Router).ServeHTTP | |
/go/pkg/mod/github.com/julienschmidt/[email protected]/router.go:387 | |
github.com/ory/nosurf.(*CSRFHandler).handleSuccess | |
/go/pkg/mod/github.com/ory/[email protected]/handler.go:234 | |
github.com/ory/nosurf.(*CSRFHandler).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/handler.go:185 | |
github.com/urfave/negroni.Wrap.func1 | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:46 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/kratos/x.glob..func1 | |
/project/x/clean_url.go:15 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:284 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:142 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:92 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:104 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func1 | |
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promhttp/instrument_server.go:234 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/ory/x/prometheusx.Metrics.instrumentHandlerStatusBucket.func1 | |
/go/pkg/mod/github.com/ory/[email protected]/prometheusx/metrics.go:115 | |
net/http.HandlerFunc.ServeHTTP | |
/usr/local/go/src/net/http/server.go:2122 | |
github.com/ory/x/prometheusx.(*MetricsManager).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/prometheusx/middleware.go:41 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/x/metricsx.(*Service).ServeHTTP | |
/go/pkg/mod/github.com/ory/[email protected]/metricsx/middleware.go:272 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 | |
github.com/ory/kratos/x.HTTPLoaderContextMiddleware.func1 | |
/project/x/httploadermiddleware.go:23 | |
github.com/urfave/negroni.HandlerFunc.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:29 | |
github.com/urfave/negroni.middleware.ServeHTTP | |
/go/pkg/mod/github.com/urfave/[email protected]/negroni.go:38 status:Unauthorized status_code:401] http_request=map[headers:map[accept:application/json accept-encoding:gzip,deflate authorization:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". connection:Keep-Alive user-agent:Jersey/2.35 (Apache HttpClient 4.5.13)] host:kamilk:4433 method:GET path:/sessions/whoami query:<nil> remote:172.19.0.1:49662 scheme:http] http_response=map[status_code:401] service_name=Ory Kratos service_version=v1.0.0 | |
time=2023-10-25T08:59:45Z level=info msg=completed handling request http_request=map[headers:map[accept:application/json accept-encoding:gzip,deflate authorization:Value is sensitive and has been redacted. To see the value set config key "log.leak_sensitive_values = true" or environment variable "LOG_LEAK_SENSITIVE_VALUES=true". connection:Keep-Alive user-agent:Jersey/2.35 (Apache HttpClient 4.5.13)] host:kamilk:4433 method:GET path:/sessions/whoami query:<nil> remote:172.19.0.1:49662 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate content-type:application/json vary:Cookie] size:157 status:401 text_status:Unauthorized took:591.492µs] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment