
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.
@openmobilehub/auth-microsoft
Advanced tools
React Native OMH Auth - Microsoft streamlines Microsoft authentication integration into React Native applications.
npm add @openmobilehub/auth-microsoft
:::info[Prerequisites]
Each plugin requires you to follow the iOS and Android configuration prior to interacting with it.
:::
To access Google APIs, please follow these steps in order to obtain the Client ID:
Add a new entry to your android/local.properties file:
MICROSOFT_SIGNATURE_HASH=<YOUR_MICROSOFT_SIGNATURE_HASH>
Before interacting with Microsoft, initialization of the Microsoft Auth Client is necessary, requiring platform specific configuration to be set.
import MicrosoftAuthClient from '@openmobilehub/auth-microsoft';
await MicrosoftAuth.initialize({
android: {
scopes: ['User.Read'],
configFileName: 'ms_auth_config',
},
ios: {
scopes: ['User.Read', 'openid', 'profile', 'email', 'offline_access'],
clientId: '<YOUR_MICROSOFT_CLIENT_ID>',
redirectUrl: 'msauth.com.omh.auth.sample://auth/',
},
});
:::warning[Known limitations"]
Due to current limitations to the underlying Microsoft SDK, revoking a token is not supported as of now. Instead an error with the "Method not supported." message will be thrown when calling the revokeAccessToken
method.
:::
Interacting with the Microsoft provider follows the same pattern as other providers since they all implement the IAuthModule
interface. For a comprehensive list of available methods, refer to the Quick Start guide.
FAQs
React Native OMH Auth - Microsoft streamlines Microsoft authentication integration into React Native applications.
We found that @openmobilehub/auth-microsoft demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.