Comparing version 0.0.24 to 0.0.25
@@ -27,3 +27,3 @@ { | ||
"private": false, | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"type": "module", | ||
@@ -30,0 +30,0 @@ "files": [ |
@@ -11,4 +11,8 @@ ### OAuthify | ||
![OAuthify Auth 2.0 headless Component](/src/assets/OAuthify.png) | ||
<!-- ![OAuthify Auth 2.0 headless Component](/src/assets/OAuthify.png) --> | ||
<p align="center"> | ||
<img src="src/assets/OAuthify.png" alt="OAuthify Auth 2.0 headless Component" width="200"> | ||
</p> | ||
### Installation | ||
@@ -45,3 +49,3 @@ | ||
} from 'oauthify'; | ||
import { useAuth } from './contexts/Auth.context'; | ||
import { useOAuthify } from 'oauthify'; | ||
@@ -145,2 +149,3 @@ const googleClientId = 'xxxxxxxxx'; | ||
const App = () => { | ||
// Use any of the ways to handle the success and failed state either the prop method or context hook | ||
const handleSuccess = (response) => { | ||
@@ -237,2 +242,3 @@ console.log('Google login success:', response); | ||
- **GitHub Repository:** [OAuthify on GitHub](https://github.com/shekhardtu/oauthify) | ||
- **Github Auth Library** [Github on NPM](https://www.npmjs.com/package/github-auth-library) | ||
- **NPM Package:** [OAuthify on NPM](https://www.npmjs.com/package/oauthify) | ||
@@ -239,0 +245,0 @@ - **Google OAuth Documentation:** [Google Identity Platform](https://developers.google.com/identity/protocols/oauth2) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32676
247