What happened?
I upgrade to the latest release 0.17.1 and was able to register new device using hardware token by visiting https:///.pomerium and going to register new device. I can see the registered device but it says that the current session has no registered device. Every time I register new device, it says current session - no device credentials found.
Then if I visit a page that has route configured to use device identity, I go through the process of authenticating the device but never get redirected to the actual service
ingress.pomerium.io/policy: '[{"allow":{"and":[{"domain":{"is":"<domain>"}},{"device":{"type":"any"}}]}}]'
I get this in logs:
{"level":"info","X-Forwarded-For":["10.240.0.4,127.0.0.6"],"X-Forwarded-Proto":["http"],"ip":"127.0.0.1","user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36","referer":"https://authenticate.pomerium.<domain>/.pomerium/webauthn?pomerium_device_type=any&pomerium_expiry=1649374618&pomerium_issued=1649374318&pomerium_redirect_uri=https%3A%2F%2Fcustomer.yaobank.pomerium.<domain>%2F&pomerium_signature=wYviOil6dM7lL7471fq1x3gF64LlQgrCFREaKc7ZX_s%3D","request-id":"7a28303d-63b9-4eba-8d89-f39a1b82aa22","error":"internal/urlutil: hmac failed","time":"2022-04-07T23:32:12Z","message":"authenticate: origin blocked"}
{"level":"info","service":"envoy","upstream-cluster":"pomerium-control-plane-http","method":"POST","authority":"pomerium-authenticate.pomerium.svc.cluster.local","path":"/.pomerium/webauthn","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36","referer":"https://authenticate.pomerium.<domain>/.pomerium/webauthn","forwarded-for":"10.240.0.4,127.0.0.6","request-id":"7a28303d-63b9-4eba-8d89-f39a1b82aa22","duration":68.739798,"size":0,"response-code":302,"response-code-details":"via_upstream","time":"2022-04-07T23:32:13Z","message":"http-request"}
{"level":"info","service":"envoy","upstream-cluster":"pomerium-control-plane-http","method":"GET","authority":"pomerium-authenticate.pomerium.svc.cluster.local","path":"/.pomerium/webauthn","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36","referer":"","forwarded-for":"10.240.0.4,127.0.0.6","request-id":"a9a6f144-f200-48e7-83ef-13dc40177e9a","duration":31.757867,"size":1106,"response-code":200,"response-code-details":"via_upstream","time":"2022-04-07T23:32:13Z","message":"http-request"}
{"level":"info","service":"envoy","upstream-cluster":"pomerium-control-plane-http","method":"GET","authority":"pomerium-authenticate.pomerium.svc.cluster.local","path":"/.pomerium/index.css","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36","referer":"https://authenticate.pomerium.<domain>/.pomerium/webauthn","forwarded-for":"10.240.0.4,127.0.0.6","request-id":"11ea7744-b57b-4c1e-8a38-d009ffc81c2b","duration":8.14394,"size":0,"response-code":304,"response-code-details":"via_upstream","time":"2022-04-07T23:32:13Z","message":"http-request"}
{"level":"info","service":"envoy","upstream-cluster":"pomerium-control-plane-http","method":"GET","authority":"pomerium-authenticate.pomerium.svc.cluster.local","path":"/.pomerium/index.js","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36","referer":"https://authenticate.pomerium.<domain>/.pomerium/webauthn","forwarded-for":"10.240.0.4,127.0.0.6","request-id":"61495c2d-6c02-44da-aef0-59bf268917fb","duration":7.698633,"size":0,"response-code":304,"response-code-details":"via_upstream","time":"2022-04-07T23:32:13Z","message":"http-request"