Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when authenticating using Auth0 #74

Open
dandanthedev opened this issue Aug 23, 2024 · 4 comments
Open

Error when authenticating using Auth0 #74

dandanthedev opened this issue Aug 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@dandanthedev
Copy link

Vaultwarden Support String

button doesnt work for some reason

Steps To Reproduce

  1. Configure SSO using Auth0
  2. Authenticate

Expected Result

Logging in as normal

Actual Result

Returning this error:
`Failed to contact token endpoint: Parse(Error { path: Path { segments: [] }, original: Error("Failed to parse payload JSON: Error("data did not match any variant of untagged enum Timestamp", line: 1, column: 499)", line: 1, column: 1669) }, [123, 34, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 34, 101, 121, 74, 104, 98, 71, 99, 105, 79, 105, 74, 107, 97, 88, 73, 105, 76, 67, 74, 108, 98, 109, 77, 105, 79, 105, 74, 66, 77, 106, 85, 50, 82, 48, 78, 78, 73, 105, 119, 105, 97, 88, 78, 122, 73, 106, 111, 105, 97, 72, 82, 48, 99, 72, 77, 54, 76, 121, 57, 109, 89, 83, 49, 105, 99, 109, 108, 114, 76, 87, 108, 117, 100, 71, 86, 121, 98, 109, 70, 115, 76, 109, 86, 49, 76, 109, 70, 49, 100, 71, 103, 119, 76, 109, 78, 118, 98, 83, 56, 105, 102, 81, 46, 46, 111, 80, 105, 51, 56, 89, 67, 101, 74, 76, 73, 105, 107, 117, 80, 104, 46, 109, 79, 88, 83, 71, 112, 104, 83, 86, 84, 67, 72, 102, 75, 115, 72, 107, 121, 67, 79, 79, 67, 105, 121, 89, 79, 97, 49, 72, 119, 54, 121, 109, 80, 97, 104, 122, 72, 83, 101, 117, 107, 69, 77, 120, 74, 85, 50, 56, 97, 45, 100, 119, 83, 112, 48, 54, 54, 98, 102, 105, 89, 74, 65, 89, 107, 66, 111, 74, 111, 79, 84, 75, 55, 72, 89, 101, 67, 67, 51, 55, 52, 69, 83, 111, 89, 50, 51, 104, 57, 113, 105, 56, 102, 74, 89, 71, 56, 49, 102, 106, 73, 114, 50, 100, 81, 114, 118, 109, 79, 121, 114, 95, 70, 72, 78, 66, 95, 68, 78, 109, 113, 117, 79, 97, 107, 89, 85, 101, 90, 99, 110, 112, 111, 84, 120, 87, 118, 70, 85, 74, 121, 53, 66, 79, 67, 69, 122, 67, 82, 122, 119, 108, 72, 76, 51, 77, 120, 121, 82, 99, 79, 107, 57, 53, 87, 100, 106, 84, 45, 83, 109, 49, 108, 114, 73, 87, 98, 81, 72, 83, 89, 83, 116, 95, 77, 52, 99, 75, 83, 85, 57, 67, 73, 109, 53, 82, 66, 55, 69, 57, 66, 73, 102, 56, 48, 71, 74, 82, 103, 68, 50, 74, 66, 100, 98, 78, 82, 114, 109, 71, 117, 70, 70, 118, 45, 108, 85, 50, 71, 48, 102, 110, 97, 119, 109, 106, 87, 65, 49, 100, 72, 54, 116, 76, 78, 50, 86, 70, 98, 57, 66, 102, 119, 53, 119, 118, 108, 87, 55, 102, 54, 53, 83, 119, 68, 80, 106, 87, 84, 67, 90, 79, 68, 100, 77, 48, 112, 73, 84, 106, 119, 115, 118, 116, 83, 108, 99, 66, 76, 102, 87, 66, 70, 115, 109, 79, 77, 49, 95, 116, 90, 53, 83, 110, 115, 68, 54, 66, 120, 117, 111, 107, 75, 110, 65, 101, 116, 68, 55, 99, 49, 70, 101, 54, 66, 67, 113, 54, 78, 80, 72, 106, 65, 46, 80, 71, 53, 87, 69, 87, 78, 81, 112, 50, 48, 50, 80, 118, 108, 98, 105, 75, 87, 116, 77, 81, 34, 44, 34, 105, 100, 95, 116, 111, 107, 101, 110, 34, 58, 34, 101, 121, 74, 104, 98, 71, 99, 105, 79, 105, 74, 83, 85, 122, 73, 49, 78, 105, 73, 115, 73, 110, 82, 53, 99, 67, 73, 54, 73, 107, 112, 88, 86, 67, 73, 115, 73, 109, 116, 112, 90, 67, 73, 54, 73, 107, 104, 87, 100, 122, 82, 48, 90, 107, 107, 51, 84, 85, 53, 80, 85, 86, 66, 119, 81, 109, 104, 77, 83, 70, 57, 121, 99, 105, 74, 57, 46, 101, 121, 74, 117, 97, 87, 78, 114, 98, 109, 70, 116, 90, 83, 73, 54, 73, 110, 82, 108, 99, 51, 81, 105, 76, 67, 74, 117, 89, 87, 49, 108, 73, 106, 111, 105, 86, 71, 86, 122, 100, 67, 66, 81, 90, 88, 74, 122, 98, 50, 57, 117, 73, 105, 119, 105, 99, 71, 108, 106, 100, 72, 86, 121, 90, 83, 73, 54, 73, 109, 104, 48, 100, 72, 66, 122, 79, 105, 56, 118, 99, 121, 53, 110, 99, 109, 70, 50, 89, 88, 82, 104, 99, 105, 53, 106, 98, 50, 48, 118, 89, 88, 90, 104, 100, 71, 70, 121, 76, 122, 73, 52, 78, 84, 69, 48, 90, 71, 74, 107, 77, 106, 99, 120, 78, 106, 99, 122, 77, 109, 74, 107, 77, 122, 65, 49, 77, 106, 82, 105, 90, 84, 74, 109, 79, 68, 89, 52, 78, 68, 99, 122, 80, 51, 77, 57, 78, 68, 103, 119, 74, 110, 73, 57, 99, 71, 99, 109, 90, 68, 49, 111, 100, 72, 82, 119, 99, 121, 85, 122, 81, 83, 85, 121, 82, 105, 85, 121, 82, 109, 78, 107, 98, 105, 53, 104, 100, 88, 82, 111, 77, 67, 53, 106, 98, 50, 48, 108, 77, 107, 90, 104, 100, 109, 70, 48, 89, 88, 74, 122, 74, 84, 74, 71, 100, 71, 85, 117, 99, 71, 53, 110, 73, 105, 119, 105, 100, 88, 66, 107, 89, 88, 82, 108, 90, 70, 57, 104, 100, 67, 73, 54, 73, 106, 73, 119, 77, 106, 81, 116, 77, 68, 103, 116, 77, 106, 78, 85, 77, 84, 73, 54, 78, 84, 89, 54, 78, 84, 77, 117, 77, 106, 81, 49, 87, 105, 73, 115, 73, 109, 86, 116, 89, 87, 108, 115, 73, 106, 111, 105, 100, 71, 86, 122, 100, 69, 66, 109, 89, 83, 49, 105, 99, 109, 108, 114, 76, 109, 53, 115, 73, 105, 119, 105, 90, 87, 49, 104, 97, 87, 120, 102, 100, 109, 86, 121, 97, 87, 90, 112, 90, 87, 81, 105, 79, 110, 82, 121, 100, 87, 85, 115, 73, 109, 108, 122, 99, 121, 73, 54, 73, 109, 104, 48, 100, 72, 66, 122, 79, 105, 56, 118, 90, 109, 69, 116, 89, 110, 74, 112, 97, 121, 49, 112, 98, 110, 82, 108, 99, 109, 53, 104, 98, 67, 53, 108, 100, 83, 53, 104, 100, 88, 82, 111, 77, 67, 53, 106, 98, 50, 48, 118, 73, 105, 119, 105, 89, 88, 86, 107, 73, 106, 111, 105, 78, 110, 78, 120, 79, 85, 57, 104, 78, 50, 116, 109, 101, 106, 74, 89, 100, 48, 90, 74, 86, 107, 100, 120, 99, 50, 82, 68, 90, 50, 120, 104, 89, 84, 77, 122, 90, 72, 86, 108, 84, 107, 69, 105, 76, 67, 74, 112, 89, 88, 81, 105, 79, 106, 69, 51, 77, 106, 81, 48, 77, 106, 69, 51, 78, 122, 85, 115, 73, 109, 86, 52, 99, 67, 73, 54, 77, 84, 99, 121, 78, 68, 81, 49, 78, 122, 99, 51, 78, 83, 119, 105, 99, 51, 86, 105, 73, 106, 111, 105, 89, 88, 86, 48, 97, 68, 66, 56, 78, 106, 90, 106, 79, 68, 100, 109, 78, 106, 89, 49, 90, 84, 108, 109, 78, 68, 81, 51, 90, 84, 81, 120, 89, 84, 107, 121, 77, 71, 77, 51, 73, 105, 119, 105, 99, 50, 108, 107, 73, 106, 111, 105, 82, 108, 90, 73, 87, 108, 104, 48, 99, 85, 70, 122, 99, 85, 78, 82, 90, 84, 100, 84, 97, 107, 116, 89, 77, 48, 70, 84, 84, 122, 78, 111, 99, 68, 108, 67, 85, 49, 111, 51, 78, 50, 107, 105, 76, 67, 74, 117, 98, 50, 53, 106, 90, 83, 73, 54, 73, 110, 104, 112, 85, 107, 57, 75, 83, 107, 57, 105, 100, 69, 82, 119, 77, 72, 66, 102, 81, 85, 120, 110, 82, 85, 100, 79, 99, 88, 99, 105, 102, 81, 46, 101, 67, 48, 97, 105, 71, 115, 69, 121, 75, 115, 75, 122, 83, 95, 109, 75, 55, 73, 53, 76, 95, 82, 112, 72, 120, 119, 56, 45, 80, 56, 49, 111, 110, 77, 77, 77, 80, 102, 103, 74, 57, 97, 78, 54, 107, 95, 73, 56, 121, 119, 104, 72, 48, 109, 56, 99, 79, 68, 71, 82, 114, 102, 81, 88, 113, 66, 105, 110, 65, 114, 52, 75, 101, 81, 78, 111, 49, 53, 48, 110, 114, 102, 78, 74, 111, 78, 106, 109, 48, 108, 48, 71, 82, 87, 102, 109, 121, 89, 48, 72, 65, 45, 73, 90, 99, 79, 87, 104, 106, 105, 111, 72, 111, 54, 87, 70, 77, 98, 115, 80, 80, 90, 116, 86, 83, 89, 69, 56, 77, 99, 69, 95, 84, 79, 117, 109, 69, 80, 83, 105, 80, 109, 108, 50, 95, 82, 121, 102, 72, 101, 68, 77, 122, 77, 82, 76, 52, 65, 120, 106, 53, 57, 88, 82, 65, 52, 80, 68, 53, 100, 73, 109, 108, 70, 83, 104, 106, 114, 81, 106, 84, 110, 48, 87, 97, 57, 79, 115, 54, 77, 75, 55, 66, 71, 56, 80, 103, 107, 86, 122, 68, 82, 117, 79, 89, 70, 81, 113, 82, 79, 113, 114, 121, 90, 113, 88, 68, 108, 52, 67, 45, 107, 45, 118, 107, 107, 112, 57, 54, 86, 78, 117, 122, 73, 65, 110, 53, 51, 89, 81, 111, 107, 113, 109, 74, 53, 66, 56, 115, 69, 120, 114, 111, 54, 80, 84, 112, 102, 70, 85, 52, 95, 88, 66, 51, 50, 98, 88, 97, 87, 77, 75, 107, 116, 65, 85, 110, 102, 70, 73, 99, 51, 80, 78, 57, 57, 86, 119, 78, 95, 80, 120, 79, 117, 107, 119, 113, 57, 82, 112, 66, 120, 101, 97, 97, 114, 73, 82, 88, 79, 104, 79, 103, 79, 100, 117, 115, 80, 65, 104, 89, 103, 79, 67, 115, 113, 81, 106, 74, 110, 113, 104, 114, 119, 68, 69, 121, 74, 120, 109, 81, 34, 44, 34, 115, 99, 111, 112, 101, 34, 58, 34, 111, 112, 101, 110, 105, 100, 32, 112, 114, 111, 102, 105, 108, 101, 32, 101, 109, 97, 105, 108, 34, 44, 34, 101, 120, 112, 105, 114, 101, 115, 95, 105, 110, 34, 58, 56, 54, 52, 48, 48, 44, 34, 116, 111, 107, 101, 110, 95, 116, 121, 112, 101, 34, 58, 34, 66, 101, 97, 114, 101, 114, 34, 125])

`

Screenshots or Videos

https://github.com/user-attachments/assets/7a338e02-8e1d-4405-a62d-21dc9d923cc6
(The authentication on Auth0's side does work fine, i'm already signed in so it doesn't show a consent screen

Logs

[2024-08-23 14:07:42.634][request][INFO] POST /identity/connect/token
[2024-08-23 14:07:42.992][vaultwarden::sso][ERROR] Failed to contact token endpoint: Parse(Error { path: Path { segments: [] }, original: Error("Failed to parse payload JSON: Error(\"data did not match any variant of untagged enum Timestamp\", line: 1, column: 499)", line: 1, column: 1669) }, [123, 34, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 34, 101, 121, 74, 104, 98, 71, 99, 105, 79, 105, 74, 107, 97, 88, 73, 105, 76, 67, 74, 108, 98, 109, 77, 105, 79, 105, 74, 66, 77, 106, 85, 50, 82, 48, 78, 78, 73, 105, 119, 105, 97, 88, 78, 122, 73, 106, 111, 105, 97, 72, 82, 48, 99, 72, 77, 54, 76, 121, 57, 109, 89, 83, 49, 105, 99, 109, 108, 114, 76, 87, 108, 117, 100, 71, 86, 121, 98, 109, 70, 115, 76, 109, 86, 49, 76, 109, 70, 49, 100, 71, 103, 119, 76, 109, 78, 118, 98, 83, 56, 105, 102, 81, 46, 46, 69, 88, 81, 119, 107, 48, 48, 119, 82, 71, 114, 45, 107, 114, 74, 109, 46, 45, 108, 48, 97, 108, 108, 86, 50, 87, 113, 119, 86, 53, 68, 45, 88, 112, 107, 117, 106, 98, 70, 56, 89, 80, 87, 54, 84, 74, 95, 106, 119, 81, 56, 112, 111, 75, 56, 79, 69, 99, 100, 57, 73, 52, 108, 98, 80, 100, 53, 110, 116, 109, 122, 95, 85, 110, 85, 81, 67, 68, 103, 110, 77, 108, 115, 120, 50, 114, 73, 84, 72, 48, 86, 86, 81, 113, 105, 57, 98, 106, 50, 103, 78, 87, 118, 110, 119, 116, 100, 88, 57, 71, 81, 70, 51, 116, 84, 108, 78, 108, 57, 102, 95, 45, 72, 107, 74, 99, 78, 68, 77, 56, 79, 101, 77, 48, 98, 117, 122, 87, 45, 111, 48, 75, 83, 105, 95, 65, 120, 55, 82, 87, 53, 73, 69, 66, 113, 77, 120, 113, 102, 67, 87, 122, 81, 72, 85, 106, 78, 67, 121, 76, 55, 73, 99, 80, 113, 110, 83, 101, 111, 69, 82, 73, 122, 111, 104, 65, 82, 69, 113, 100, 56, 51, 80, 55, 106, 73, 98, 101, 114, 119, 48, 119, 107, 86, 103, 80, 81, 77, 121, 102, 102, 122, 52, 90, 101, 87, 49, 102, 118, 85, 51, 109, 79, 103, 120, 77, 117, 101, 108, 81, 71, 99, 112, 122, 117, 74, 79, 101, 53, 114, 97, 101, 122, 76, 87, 53, 71, 112, 50, 57, 78, 67, 75, 71, 78, 71, 70, 122, 110, 99, 119, 65, 110, 83, 74, 56, 122, 109, 56, 119, 49, 74, 115, 118, 89, 121, 108, 80, 74, 70, 56, 55, 102, 57, 76, 120, 51, 117, 118, 99, 82, 103, 80, 122, 100, 67, 66, 121, 107, 67, 98, 104, 111, 97, 70, 51, 112, 56, 90, 113, 77, 70, 57, 119, 102, 111, 49, 83, 84, 105, 97, 101, 67, 120, 71, 99, 115, 48, 113, 51, 72, 98, 111, 69, 105, 48, 70, 77, 98, 111, 49, 54, 89, 66, 83, 72, 54, 117, 120, 102, 103, 46, 73, 109, 78, 79, 76, 51, 95, 102, 106, 54, 121, 114, 66, 49, 114, 86, 79, 77, 101, 51, 66, 65, 34, 44, 34, 105, 100, 95, 116, 111, 107, 101, 110, 34, 58, 34, 101, 121, 74, 104, 98, 71, 99, 105, 79, 105, 74, 83, 85, 122, 73, 49, 78, 105, 73, 115, 73, 110, 82, 53, 99, 67, 73, 54, 73, 107, 112, 88, 86, 67, 73, 115, 73, 109, 116, 112, 90, 67, 73, 54, 73, 107, 104, 87, 100, 122, 82, 48, 90, 107, 107, 51, 84, 85, 53, 80, 85, 86, 66, 119, 81, 109, 104, 77, 83, 70, 57, 121, 99, 105, 74, 57, 46, 101, 121, 74, 117, 97, 87, 78, 114, 98, 109, 70, 116, 90, 83, 73, 54, 73, 110, 82, 108, 99, 51, 81, 105, 76, 67, 74, 117, 89, 87, 49, 108, 73, 106, 111, 105, 86, 71, 86, 122, 100, 67, 66, 81, 90, 88, 74, 122, 98, 50, 57, 117, 73, 105, 119, 105, 99, 71, 108, 106, 100, 72, 86, 121, 90, 83, 73, 54, 73, 109, 104, 48, 100, 72, 66, 122, 79, 105, 56, 118, 99, 121, 53, 110, 99, 109, 70, 50, 89, 88, 82, 104, 99, 105, 53, 106, 98, 50, 48, 118, 89, 88, 90, 104, 100, 71, 70, 121, 76, 122, 73, 52, 78, 84, 69, 48, 90, 71, 74, 107, 77, 106, 99, 120, 78, 106, 99, 122, 77, 109, 74, 107, 77, 122, 65, 49, 77, 106, 82, 105, 90, 84, 74, 109, 79, 68, 89, 52, 78, 68, 99, 122, 80, 51, 77, 57, 78, 68, 103, 119, 74, 110, 73, 57, 99, 71, 99, 109, 90, 68, 49, 111, 100, 72, 82, 119, 99, 121, 85, 122, 81, 83, 85, 121, 82, 105, 85, 121, 82, 109, 78, 107, 98, 105, 53, 104, 100, 88, 82, 111, 77, 67, 53, 106, 98, 50, 48, 108, 77, 107, 90, 104, 100, 109, 70, 48, 89, 88, 74, 122, 74, 84, 74, 71, 100, 71, 85, 117, 99, 71, 53, 110, 73, 105, 119, 105, 100, 88, 66, 107, 89, 88, 82, 108, 90, 70, 57, 104, 100, 67, 73, 54, 73, 106, 73, 119, 77, 106, 81, 116, 77, 68, 103, 116, 77, 106, 78, 85, 77, 84, 73, 54, 78, 84, 89, 54, 78, 84, 77, 117, 77, 106, 81, 49, 87, 105, 73, 115, 73, 109, 86, 116, 89, 87, 108, 115, 73, 106, 111, 105, 100, 71, 86, 122, 100, 69, 66, 109, 89, 83, 49, 105, 99, 109, 108, 114, 76, 109, 53, 115, 73, 105, 119, 105, 90, 87, 49, 104, 97, 87, 120, 102, 100, 109, 86, 121, 97, 87, 90, 112, 90, 87, 81, 105, 79, 110, 82, 121, 100, 87, 85, 115, 73, 109, 108, 122, 99, 121, 73, 54, 73, 109, 104, 48, 100, 72, 66, 122, 79, 105, 56, 118, 90, 109, 69, 116, 89, 110, 74, 112, 97, 121, 49, 112, 98, 110, 82, 108, 99, 109, 53, 104, 98, 67, 53, 108, 100, 83, 53, 104, 100, 88, 82, 111, 77, 67, 53, 106, 98, 50, 48, 118, 73, 105, 119, 105, 89, 88, 86, 107, 73, 106, 111, 105, 78, 110, 78, 120, 79, 85, 57, 104, 78, 50, 116, 109, 101, 106, 74, 89, 100, 48, 90, 74, 86, 107, 100, 120, 99, 50, 82, 68, 90, 50, 120, 104, 89, 84, 77, 122, 90, 72, 86, 108, 84, 107, 69, 105, 76, 67, 74, 112, 89, 88, 81, 105, 79, 106, 69, 51, 77, 106, 81, 48, 77, 106, 73, 119, 78, 106, 73, 115, 73, 109, 86, 52, 99, 67, 73, 54, 77, 84, 99, 121, 78, 68, 81, 49, 79, 68, 65, 50, 77, 105, 119, 105, 99, 51, 86, 105, 73, 106, 111, 105, 89, 88, 86, 48, 97, 68, 66, 56, 78, 106, 90, 106, 79, 68, 100, 109, 78, 106, 89, 49, 90, 84, 108, 109, 78, 68, 81, 51, 90, 84, 81, 120, 89, 84, 107, 121, 77, 71, 77, 51, 73, 105, 119, 105, 99, 50, 108, 107, 73, 106, 111, 105, 82, 108, 90, 73, 87, 108, 104, 48, 99, 85, 70, 122, 99, 85, 78, 82, 90, 84, 100, 84, 97, 107, 116, 89, 77, 48, 70, 84, 84, 122, 78, 111, 99, 68, 108, 67, 85, 49, 111, 51, 78, 50, 107, 105, 76, 67, 74, 117, 98, 50, 53, 106, 90, 83, 73, 54, 73, 109, 70, 83, 83, 70, 90, 54, 85, 50, 53, 118, 90, 49, 90, 105, 78, 70, 82, 81, 82, 85, 77, 116, 78, 108, 104, 53, 87, 107, 69, 105, 102, 81, 46, 67, 108, 99, 54, 116, 112, 90, 56, 104, 115, 121, 103, 86, 87, 66, 114, 72, 74, 114, 107, 112, 106, 53, 76, 51, 120, 98, 97, 104, 107, 120, 82, 110, 55, 121, 49, 119, 77, 121, 90, 45, 68, 115, 66, 110, 67, 108, 54, 70, 50, 71, 69, 88, 119, 79, 73, 90, 110, 74, 114, 87, 82, 56, 82, 88, 122, 74, 51, 90, 107, 66, 122, 104, 102, 70, 102, 105, 69, 87, 122, 53, 104, 71, 87, 87, 119, 104, 54, 53, 57, 48, 50, 45, 106, 69, 65, 52, 98, 81, 106, 77, 101, 107, 78, 97, 70, 50, 104, 67, 83, 45, 79, 45, 121, 108, 122, 67, 54, 121, 117, 109, 95, 57, 52, 109, 69, 50, 111, 97, 53, 122, 51, 102, 66, 109, 73, 107, 48, 110, 102, 71, 113, 84, 113, 104, 73, 67, 121, 102, 83, 80, 83, 122, 53, 68, 100, 50, 50, 73, 103, 55, 52, 80, 54, 95, 110, 112, 122, 86, 110, 113, 69, 112, 122, 57, 55, 57, 108, 67, 90, 95, 51, 49, 55, 85, 95, 77, 88, 82, 104, 103, 105, 112, 114, 87, 102, 52, 99, 79, 57, 118, 74, 49, 110, 89, 48, 54, 77, 98, 97, 48, 72, 95, 70, 118, 115, 116, 122, 95, 84, 113, 77, 120, 51, 86, 113, 85, 110, 107, 67, 82, 87, 109, 45, 82, 98, 99, 99, 90, 95, 101, 101, 84, 85, 86, 65, 121, 121, 53, 77, 51, 100, 101, 90, 109, 121, 105, 86, 65, 56, 107, 53, 108, 66, 51, 82, 88, 86, 108, 57, 52, 89, 111, 45, 79, 110, 45, 90, 79, 84, 54, 51, 102, 108, 67, 97, 65, 111, 55, 48, 82, 57, 97, 113, 69, 70, 56, 48, 66, 67, 81, 55, 56, 56, 80, 71, 80, 107, 88, 69, 78, 86, 70, 56, 80, 73, 122, 57, 81, 55, 68, 66, 100, 120, 79, 112, 76, 81, 65, 101, 116, 68, 72, 102, 45, 117, 100, 73, 98, 111, 97, 119, 34, 44, 34, 115, 99, 111, 112, 101, 34, 58, 34, 111, 112, 101, 110, 105, 100, 32, 112, 114, 111, 102, 105, 108, 101, 32, 101, 109, 97, 105, 108, 34, 44, 34, 101, 120, 112, 105, 114, 101, 115, 95, 105, 110, 34, 58, 56, 54, 52, 48, 48, 44, 34, 116, 111, 107, 101, 110, 95, 116, 121, 112, 101, 34, 58, 34, 66, 101, 97, 114, 101, 114, 34, 125])
[2024-08-23 14:07:42.993][response][INFO] (login) POST /identity/connect/token => 400 Bad Request

Additional Context

No response

Host/Server Operating System

Linux

Operating System Version

No response

Deployment method

Official Container Image

Custom deployment method

No response

Vaultwarden Build Version

latest

Clients

Web Vault

Client Version

No response

@dandanthedev dandanthedev added the bug Something isn't working label Aug 23, 2024
@Timshel
Copy link
Owner

Timshel commented Aug 24, 2024

Hey,

It looks like some issue when parsing the response.
Might be that like for this issue they do not follow the spec :(.

Will try to setup a demo account to test-it but if it's confirmed then won't be able to do much.

@Timshel
Copy link
Owner

Timshel commented Aug 24, 2024

Found the correct issue: ramosbugs/openidconnect-rs#23
There is a feature that can be activated in cargo.toml to make it work :
openidconnect = { version = "3.5.0", features = ["accept-rfc3339-timestamps"] }

Will have to check how rust feature flags work to see what is possible (I'm hesitant to just enable it for everyone).

@dandanthedev
Copy link
Author

Heya @Timshel, just reaching out, are there any updates yet?

@Timshel
Copy link
Owner

Timshel commented Sep 2, 2024

Hey,

So had a quick look on how the feature flag is used in openidconnect-rs and I see no easy way to replace it with some sort of config.

Since it's a compile time feature it would mean either:

  • Activating it in all cases.
    Since it appears Auth0 does not follow the spec, I don't think I will.
  • Maintaining a specific build for Auth0, which I don't plan to do for now, since:
    • It's a bit opposed to the logic of having a spec
    • I don't expect the Vaultwarden maintainers would accept the burden of a separate release.
    • There is no great demand for such a build since at the moment you are the only one which reported the issue.

So for now if you want to use it you will have to patch the project:

diff --git a/Cargo.toml b/Cargo.toml
index 0524a7be..9999e852 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -150,7 +150,7 @@ paste = "1.0.15"
 governor = "0.6.3"
 
 # OIDC for SSO
-openidconnect = "3.5.0"
+openidconnect = { version = "3.5.0", features = ["accept-rfc3339-timestamps"] }
 mini-moka = "0.10.2"

Then either build the project or the docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants