Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle missing phase service token #12

Open
nimish-ks opened this issue Dec 3, 2024 · 0 comments
Open

Handle missing phase service token #12

nimish-ks opened this issue Dec 3, 2024 · 0 comments

Comments

@nimish-ks
Copy link
Member

nimish-ks commented Dec 3, 2024

~/git/phase/python-sdk main* 20spython main.py         
Traceback (most recent call last):
  File "/phase/python-sdk/main.py", line 5, in <module>
    phase = Phase(
            ^^^^^^
  File "/phase/python-sdk/src/phase/phase.py", line 84, in __init__
    self._phase_io = PhaseIO(init=init, pss=pss, host=host)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/phase/python-sdk/src/phase/utils/phase_io.py", line 53, in __init__
    self.is_service_token = pss_service_pattern.match(app_secret) is not None
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant