First issue with Owncloud client #110
@ -272,7 +272,7 @@ pub async fn token(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Basic authentication
|
// Basic authentication
|
||||||
(None, None, Some(v)) => {
|
(_, None, Some(v)) => {
|
||||||
let token = match v.to_str().unwrap_or_default().strip_prefix("Basic ") {
|
let token = match v.to_str().unwrap_or_default().strip_prefix("Basic ") {
|
||||||
None => {
|
None => {
|
||||||
return Ok(error_response(
|
return Ok(error_response(
|
||||||
@ -309,7 +309,7 @@ pub async fn token(
|
|||||||
return Ok(error_response(
|
return Ok(error_response(
|
||||||
&query,
|
&query,
|
||||||
"invalid_request",
|
"invalid_request",
|
||||||
"Authentication method unknown!",
|
"Client authentication method on token endpoint unsupported!",
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user