Skip to content

Commit 8d10c56

Browse files
authored
Update to using WebPush Authorization type
As per #19
1 parent 1785112 commit 8d10c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/py_vapid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ def sign(self, claims, crypto_key=None):
131131
else:
132132
crypto_key = pkey
133133

134-
return {"Authorization": "Bearer " + sig.strip('='),
134+
return {"Authorization": "WebPush " + sig.strip('='),
135135
"Crypto-Key": crypto_key}

0 commit comments

Comments
 (0)