tangled
alpha
login
or
join now
nonbinary.computer
/
jacquard
85
fork
atom
A better Rust ATProto crate
85
fork
atom
overview
issues
10
pulls
pipelines
adjusted loopback limits
Orual
4 months ago
13053048
01aac77e
0/1
build.yml
failed
2m 35s
+5
-5
1 changed file
expand all
collapse all
unified
split
crates
jacquard-oauth
src
atproto.rs
+5
-5
crates/jacquard-oauth/src/atproto.rs
···
191
191
keyset: &Option<Keyset>,
192
192
) -> Result<OAuthClientMetadata<'m>> {
193
193
// For non-loopback clients, require a keyset/JWKs.
194
194
-
let is_loopback =
195
195
-
metadata.client_id.scheme() == "http" && metadata.client_id.host_str() == Some("localhost");
196
196
-
if !is_loopback && keyset.is_none() {
197
197
-
return Err(Error::EmptyJwks);
198
198
-
}
194
194
+
// let is_loopback =
195
195
+
// metadata.client_id.scheme() == "http" && metadata.client_id.host_str() == Some("localhost");
196
196
+
// if !is_loopback && keyset.is_none() {
197
197
+
// return Err(Error::EmptyJwks);
198
198
+
// }
199
199
if metadata.redirect_uris.is_empty() {
200
200
return Err(Error::EmptyRedirectUris);
201
201
}