Skip to content

Commit 44f78f5

Browse files
authored
Merge pull request #28 from IdentityPython/not_url_safe
Not urlsafe_b64encode just plain b64encode.
2 parents b4b8f02 + 289c5d2 commit 44f78f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[metadata]
99
name = "idpyoidc"
10-
version = "1.2.1"
10+
version = "1.2.2"
1111
author = "Roland Hedberg"
1212
author_email = "[email protected]"
1313
description = "Everything OAuth2 and OIDC"

src/idpyoidc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Roland Hedberg"
2-
__version__ = "1.2.1"
2+
__version__ = "1.2.2"
33

44
import os
55
from typing import Dict

src/idpyoidc/client/client_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _get_authentication_token(self, request, service, **kwargs):
123123
user = self._get_user(service, **kwargs)
124124

125125
credentials = f"{user}:{passwd}"
126-
return base64.urlsafe_b64encode(credentials.encode("utf-8")).decode("utf-8")
126+
return base64.b64encode(credentials.encode("utf-8")).decode("utf-8")
127127

128128
@staticmethod
129129
def _with_or_without_client_id(request, service):

0 commit comments

Comments
 (0)