
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
expo-amplify-appauth
Advanced tools
Template for making easy-to-work-with tempates
AppAuth is awesome! It works great getting an authentication code for AWS Cognito! Then things break down. This package wraps AppAuth promptAsync
pattern to automatically populate the Auth
and Credentials
objects from AWS Amplify front-end components to allow seamless communication with Cognito-authenticated AWS services.
This has been tested on user pools, but not identity pools.
expo-amplify-appauth - v1.0.1
Renames and exports: useAmplifyAppAuth
▸ useAmplifyAppAuth(config
): Object
Name | Type | Description |
---|---|---|
config | Object | Options for initializing Amplify authentication using AppAuth in Expo |
config.authorizationEndpoint? | string | - |
config.clientId | string | - |
config.clientSecret? | string | - |
config.domain? | string | - |
config.endPoint? | string | - |
config.region? | string | - |
config.scopes? | string [] | Oauth scopes (defaults to [openid], which is fine for most use cases) |
config.tokenEndpoint? | string | - |
config.userPoolId | string | - |
Object
Name | Type |
---|---|
currentUser | undefined | CognitoUser |
error | undefined | string |
isLoggedIn | boolean |
loading | boolean |
promptAsync | (...args : any []) => Promise <AuthSessionResult> |
FAQs
Unknown package
We found that expo-amplify-appauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.