
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@startupjs/auth-apple
Advanced tools
@invertase/react-native-apple-authentication: >= 2.1.0
@startupjs/auth: >= 0.33.0
1 - Open project in xCode
2 - Targets -> Signing & Capabilities
3 - Add team
4 - Add Capability - Sign in with Apple
5 - Go to Identifiers. The ID should appear there
6 - Go to Keys
7 - Create a new key. Choose Sign in with Apple. In the tab Edit - select the desired one Primary App ID
8 - After registration, save Key ID and download the p8 certificate
9 - Key ID to throw in config as APPLE_KEY_ID
10 - Go to Services IDs
11 - Register a Service ID, with any ID
12 - Throw this ID in config.json as APPLE_CLIENT_ID
13 - We go into it, put a check mark Sign In with Apple
14 - Opening Configure
15 - We put the desired one Primary App ID
16 - Filling domain and callback urls. Apple does not accept localhost, you can use ngrok for tests, for example:
https://c48c1b8bb802.ngrok.io/auth/apple/callback,
https://c48c1b8bb802.ngrok.io/auth/apple/callback-native
Importing a strategy:
import { Strategy as AppleStrategy } from '@startupjs/auth-apple/server'
Importing a lib for the config:
import conf from 'nconf'
In startupjsServer, in the strategy of the initAuth function, you need to add AppleStrategy, with variables from the config:
initAuth(ee, {
strategies: [
new AppleStrategy({
clientId: conf.get('APPLE_CLIENT_ID'),
teamId: conf.get('APPLE_TEAM_ID'),
keyId: conf.get('APPLE_KEY_ID'),
privateKeyLocation: path.join(process.cwd(), 'путь к файлу p8')
})
]
})
For tests, you can use testBaseUrl
import { AuthButton as AppleAuthButton } from '@startupjs/auth-apple/client'
FAQs
Auth plugin for StartupJS auth module
The npm package @startupjs/auth-apple receives a total of 6 weekly downloads. As such, @startupjs/auth-apple popularity was classified as not popular.
We found that @startupjs/auth-apple demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.