-
Couldn't load subscription status.
- Fork 3
[CASH-2343] feature: add support for device code grant #129
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
base: main
Are you sure you want to change the base?
Conversation
* Adds option for using device code flow * hack around auth url
src/anaconda_auth/actions.py
Outdated
| def _do_login(config: AnacondaAuthConfig, basic: bool) -> None: | ||
| if basic: | ||
| access_token = _login_with_username(config=config) | ||
| elif True: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add an option check here obv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think were now ready to remove basic auth.
…a to v0.34.0 (#124) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
* chore: Add testing for Python 3.13 * fix: Remove duplicate option from CLI
…3.1 (#126) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
…3.2 (#130) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
* fix: Add explicit PHONY targets to expose the bug * fix: Ensure pre-commit is installed via conda * fix: Add missing Makefile targets * fix: Fix draft PRs * chore(pre-commit): linting --------- Co-authored-by: Anaconda Bot <[email protected]>
* feat: Copy in conda_api * fix: Update test references to use conda_api * fix: Path in documentation * fix: Ignore types for run_command * fix: Update last two references * fix: Also add version check for restore_free_channel * refac: Remove duplicate enum definition
* feat: Add conda subcommand definition for conda-token * fix: Type hints * feat: Add test to ensure we trigger the plugin system
…3.3 (#135) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
…4.0 (#140) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
…a to v0.34.1 (#141) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
…4.1 (#143) Co-authored-by: anaconda-renovate[bot] <117830771+anaconda-renovate[bot]@users.noreply.github.com>
* Adding better terminal output
| """Display information about the currently signed-in user""" | ||
| client = BaseClient() | ||
| # This endpoint is available everywhere and should be used | ||
| # response = client.get("/api/auth/oauth2/userinfo") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to uncomment this to make it work on self-hosted env's
Test example: