-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update Docs issue #32 #34
Conversation
Codecov Report
@@ Coverage Diff @@
## master #34 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 21 11 -10
=====================================
- Hits 21 11 -10
Continue to review full report at Codecov.
|
Hi @SimonLab / @iteles! 👋 |
I went on a "side-quest" to re-make the button using SVG+CSS: #33 👨💻 Since the text/copy of the button is now just text in standard HTML, |
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.
checkout our working demo: | ||
https://github.com/dwyl/elixir-auth-github-demo <br /> | ||
> The demo is deployed on Heroku: | ||
https://elixir-auth-github-demo.herokuapp.com/ |
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.
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.
Thanks for testing it and sharing your screenshot! 👍
Co-Authored-By: Ines Teles Correia <[email protected]>
Co-Authored-By: Ines Teles Correia <[email protected]>
Co-Authored-By: Ines Teles Correia <[email protected]>
@iteles this is an example of refactoring a project and updating the docs. ♻️ @SimonLab over to you when you get back online. 🇧🇪 🙌 |
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.
Looks great, thanks @nelsonic
This PR is meant to bring this package in-line with https://github.com/dwyl/elixir-auth-google
I've simplified the code by removing a bunch of functions that do not appear to be invoked by any of the @dwyl projects using this package. Cut the codebase in half without loss of functionality. ✂️
Introduced environment variables, refactored a few functions and simplified the tests. 👨💻
@valid_scopes
because we aren't using them. Valid Scopes #36filter_valid_scopes/1
filter_valid_scopes/1 returns :ok when scopes are invalid! #37login_url_with_scope/2
function login_url_with_scope/2 function not used #38github_auth/2
function github_auth/2 function not used #39