Skip to content

Commit 291ed2f

Browse files
committed
Remove "openid" from Scopes
1 parent 922c3ab commit 291ed2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

twitchio/authentication/scopes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ def __init__(self, scopes: Iterable[str | _scope_property] | None = None, /, **k
352352

353353
for scope in scopes:
354354
if isinstance(scope, str):
355+
if scope == "openid":
356+
continue
357+
355358
prop = getattr(self, scope.replace(":", "_"))
356359
elif isinstance(scope, _scope_property): # type: ignore
357360
prop = scope

0 commit comments

Comments
 (0)