root: fix lint errors from re-format
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2c60ec50be
commit
9d392931df
|
@ -79,8 +79,8 @@ class CertificateKeyPair(CreatedUpdatedModel):
|
|||
def kid(self):
|
||||
"""Get Key ID used for JWKS"""
|
||||
return "{0}".format(
|
||||
md5(self.key_data.encode("utf-8")).hexdigest() if self.key_data else ""
|
||||
) # nosec
|
||||
md5(self.key_data.encode("utf-8")).hexdigest() if self.key_data else "" # nosec
|
||||
)
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"Certificate-Key Pair {self.name}"
|
||||
|
|
|
@ -204,7 +204,7 @@ class BearerTokenError(OAuth2Error):
|
|||
401,
|
||||
),
|
||||
"insufficient_scope": (
|
||||
"The request requires higher privileges than provided by " "the access token",
|
||||
"The request requires higher privileges than provided by the access token",
|
||||
403,
|
||||
),
|
||||
}
|
||||
|
|
|
@ -30,6 +30,4 @@ class TwitterType(SourceType):
|
|||
request_token_url = "https://api.twitter.com/oauth/request_token" # nosec
|
||||
authorization_url = "https://api.twitter.com/oauth/authenticate"
|
||||
access_token_url = "https://api.twitter.com/oauth/access_token" # nosec
|
||||
profile_url = (
|
||||
"https://api.twitter.com/1.1/account/" "verify_credentials.json?include_email=true"
|
||||
)
|
||||
profile_url = "https://api.twitter.com/1.1/account/verify_credentials.json?include_email=true"
|
||||
|
|
|
@ -14,7 +14,7 @@ import { Application, CoreApi } from "authentik-api";
|
|||
import { AKResponse } from "../api/Client";
|
||||
import { DEFAULT_CONFIG } from "../api/Config";
|
||||
import { me } from "../api/Users";
|
||||
import { loading, truncate } from "../utils";
|
||||
import { loading } from "../utils";
|
||||
import "../elements/PageHeader";
|
||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||
import PFCard from "@patternfly/patternfly/components/Card/card.css";
|
||||
|
|
Reference in New Issue