Skip to content

Re-work authentication to need only username/password - #323

Merged
bachya merged 2 commits into
devfrom
auth-rework
Apr 16, 2022
Merged

bachya merged 2 commits into
devfrom
auth-rework

Conversation

@bachya

@bachya bachya commented Apr 16, 2022

Copy link
Copy Markdown
Owner

Describe what the PR does:

Our friend @shamoon discovered that we can eliminate the previous, clunky authentication method with some magic under the hood – this allows users to simply log in with their credentials, perform the correct 2FA operation, and move forward.

Does this fix a specific issue?

Fixes #251

Checklist:

  • Confirm that one or more new tests are written for the new functionality.
  • Run tests and ensure everything passes (with 100% test coverage).
  • Update README.md and docs/ with any new documentation.
  • Add yourself to AUTHORS.md.

@bachya bachya added enhancement Enhancement of the code, not introducing new features. breaking-change A breaking change for existing users labels Apr 16, 2022
@bachya bachya self-assigned this Apr 16, 2022
Comment thread simplipy/api.py
@codecov

codecov Bot commented Apr 16, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #323 (94ac4e1) into dev (5cf1fa6) will increase coverage by 0.11%.
The diff coverage is 98.85%.

@@            Coverage Diff             @@
##              dev     #323      +/-   ##
==========================================
+ Coverage   99.78%   99.90%   +0.11%     
==========================================
  Files          13       13              
  Lines         943     1004      +61     
==========================================
+ Hits          941     1003      +62     
+ Misses          2        1       -1     
Impacted Files Coverage Δ
simplipy/websocket.py 100.00% <ø> (ø)
simplipy/api.py 99.50% <98.79%> (+0.87%) ⬆️
simplipy/errors.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5cf1fa6...94ac4e1. Read the comment docs.

@bachya bachya changed the title Re-work authentication to use a simpler workflow Re-work authentication to need only username/password Apr 16, 2022
Repository owner deleted a comment from qlty-cloud-legacy Bot Apr 16, 2022
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 94ac4e1 and detected 0 issues on this pull request.

View more on Code Climate.

@bachya

bachya commented Apr 16, 2022

Copy link
Copy Markdown
Owner Author

Coverage appears to be an issue with codecov.

@bachya
bachya merged commit 3f80cb2 into dev Apr 16, 2022
@bachya
bachya deleted the auth-rework branch April 16, 2022 17:08
bachya added a commit that referenced this pull request Jul 22, 2022
bachya added a commit that referenced this pull request Jul 22, 2022
…d OAuth flow (#371)

* Revert "Re-work authentication to need only username/password (#323)"

This reverts commit 3f80cb2.

* Most tests working

* Full test coverage

* Docs and examples

* Docs

* Docs

* Docs

* Docs

* Docs
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking-change A breaking change for existing users enhancement Enhancement of the code, not introducing new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discussion: API auth endpoints maybe sunset on December 1 2021

1 participant