diff --git a/README.md b/README.md index b18652a77b..33d7dd1923 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ passbook logopassbook -![](https://img.shields.io/github/workflow/status/beryju/passbook/passbook-ci?style=flat-square) -![](https://img.shields.io/docker/pulls/beryju/passbook.svg?style=flat-square) -![](https://img.shields.io/docker/pulls/beryju/passbook-gatekeeper.svg?style=flat-square) -![](https://img.shields.io/docker/pulls/beryju/passbook-static.svg?style=flat-square) -![](https://img.shields.io/docker/v/beryju/passbook?sort=semver&style=flat-square) -![](https://img.shields.io/codecov/c/gh/beryju/passbook?style=flat-square) +![CI Build status](https://img.shields.io/github/workflow/status/beryju/passbook/passbook-ci?style=flat-square) +![Docker pulls](https://img.shields.io/docker/pulls/beryju/passbook.svg?style=flat-square) +![Docker pulls (gatekeeper)](https://img.shields.io/docker/pulls/beryju/passbook-gatekeeper.svg?style=flat-square) +![Latest version](https://img.shields.io/docker/v/beryju/passbook?sort=semver&style=flat-square) +![LGTM Grade](https://img.shields.io/lgtm/grade/python/github/BeryJu/passbook?style=flat-square) +![Code Coverage](https://img.shields.io/codecov/c/gh/beryju/passbook?style=flat-square) ## What is passbook? diff --git a/passbook/providers/saml/views.py b/passbook/providers/saml/views.py index a8497fed9e..8c182ecc37 100644 --- a/passbook/providers/saml/views.py +++ b/passbook/providers/saml/views.py @@ -102,7 +102,7 @@ class SAMLSSOBindingRedirectView(SAMLSSOView): """SAML Handler for SSO/Redirect bindings, which are sent via GET""" # pylint: disable=unused-argument - def get( + def get( # lgtm [py/similar-function] self, request: HttpRequest, application_slug: str ) -> Optional[HttpResponse]: """Handle REDIRECT bindings""" diff --git a/passbook/sources/oauth/clients.py b/passbook/sources/oauth/clients.py index 35c58d7baa..0b3cb85f81 100644 --- a/passbook/sources/oauth/clients.py +++ b/passbook/sources/oauth/clients.py @@ -94,8 +94,6 @@ class OAuthClient(BaseOAuthClient): "oauth_callback": callback, "token": raw_token, } - callback = request.build_absolute_uri(callback or request.path) - callback = force_text(callback) try: response = self.session.request( "post",