suite-py 1.43.2__tar.gz → 1.43.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {suite_py-1.43.2 → suite_py-1.43.3}/PKG-INFO +1 -1
- {suite_py-1.43.2 → suite_py-1.43.3}/pyproject.toml +1 -1
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/__version__.py +1 -1
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/cli.py +1 -1
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/oauth.py +3 -3
- {suite_py-1.43.2 → suite_py-1.43.3}/LICENSE-APACHE +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/LICENSE-MIT +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/__init__.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/__init__.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/ask_review.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/bump.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/check.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/common.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/context.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/create_branch.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/login.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/merge_pr.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/open_pr.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/project_lock.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/release.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/set_token.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/commands/status.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/__init__.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/config.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/__init__.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/aws_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/captainhook_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/changelog_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/frequent_reviewers_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/git_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/github_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/metrics_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/okta_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/pre_commit_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/prompt_utils.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/version_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/handler/youtrack_handler.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/logger.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/metrics.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/requests/__init__.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/requests/auth.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/requests/session.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/symbol.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/lib/tokens.py +0 -0
- {suite_py-1.43.2 → suite_py-1.43.3}/suite_py/templates/login.html +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
__version__ = "1.43.
|
|
2
|
+
__version__ = "1.43.3"
|
|
@@ -99,10 +99,10 @@ def authorization_code_flow(
|
|
|
99
99
|
redirect_uri="http://127.0.0.1:5000/callback",
|
|
100
100
|
listen=("127.0.0.1", 5000),
|
|
101
101
|
):
|
|
102
|
-
#
|
|
103
|
-
# Step1: Create code verifier: Generate a code_verifier that will be sent to
|
|
102
|
+
# From https://developer.okta.com/docs/guides/sign-into-web-app-redirect/python/main/
|
|
103
|
+
# Step1: Create code verifier: Generate a code_verifier that will be sent to Okta to request tokens.
|
|
104
104
|
verifier = _url_encode_no_padding(secrets.token_bytes(32))
|
|
105
|
-
# Step2: Create code challenge: Generate a code_challenge from the code_verifier that will be sent to
|
|
105
|
+
# Step2: Create code challenge: Generate a code_challenge from the code_verifier that will be sent to Okta to request an authorization_code.
|
|
106
106
|
challenge = _generate_challenge(verifier)
|
|
107
107
|
state = _url_encode_no_padding(secrets.token_bytes(32))
|
|
108
108
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|