-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
35 lines (32 loc) · 1.6 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
publish = false
name = "wasm-oidc-plugin"
version = "0.5.4"
authors = ["WWU Cloud Developer <[email protected]>, Anton Engelhardt <[email protected]>"]
description = "A plugin for the Envoy-Proxy written in Rust. It is a HTTP Filter, that implements the OIDC Authorization Code Flow. Requests sent to the filter are checked for the presence of a valid session cookie. If the cookie is not present, the user is redirected to the authorization_endpoint to authenticate. After successful authentication, the user is redirected back to the original request with a code in the URL query. The plugin then exchanges the code for a token using the token_endpoint and stores the token in the session. If the cookie is present, the plugin validates the token and passes the request to the backend, if the token is valid (optional)."
license = "Apache-2.0"
edition = "2018"
[lib]
crate-type = ["cdylib"]
[dependencies]
aes-gcm = {version = "0.10.3", features = ["std"]}
base64 = "0.22.1"
jwt-simple = {git = "https://github.com/antonengelhardt/rust-jwt-simple", rev = "b92ac707dab1f65fae00569a468793d5eb6dab22"} # (forked version to support RSA keys longer than 4096 bits)
log = "0.4.22"
proxy-wasm = "0.2.2"
pkce = "0.2.0"
regex = "1.10.5"
sec = { version = "1.0.0", features = ["serde", "deserialize"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_yaml = "0.9.33"
serde_json = "1.0.120"
serde_urlencoded = "0.7.1"
serde_regex = "1.1.0"
thiserror = "1.0.63"
url = { version = "2.5.4", features = ["serde"] }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
panic = "abort"
strip = "debuginfo"