-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Comments
Hey, It looks like some issue when parsing the response. Will try to setup a demo account to test-it but if it's confirmed then won't be able to do much. |
Found the correct issue: ramosbugs/openidconnect-rs#23 Will have to check how rust feature flags work to see what is possible (I'm hesitant to just enable it for everyone). |
Heya @Timshel, just reaching out, are there any updates yet? |
Hey, So had a quick look on how the feature flag is used in Since it's a compile time feature it would mean either:
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. |
Vaultwarden Support String
button doesnt work for some reason
Steps To Reproduce
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
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
The text was updated successfully, but these errors were encountered: