authenticate: add device-enrolled page (#2892)

* authenticate: add device-enrolled page

* remove device credential id from page
This commit is contained in:
Caleb Doxsey 2022-01-06 10:01:12 -07:00 committed by GitHub
parent 6ed3fa20bc
commit 9330f6b0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 61 additions and 3 deletions

View file

@ -137,7 +137,7 @@ func (a *Authenticate) getWebAuthnURL(values url.Values) (*url.URL, error) {
urlutil.QueryDeviceType: {webauthnutil.DefaultDeviceType},
urlutil.QueryEnrollmentToken: nil,
urlutil.QueryRedirectURI: {uri.ResolveReference(&url.URL{
Path: "/.pomerium/",
Path: "/.pomerium/device-enrolled",
}).String()},
}).Encode(),
})