
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@logto/connector-azuread
Advanced tools
The Microsoft Azure AD connector provides a succinct way for your application to use Azure’s OAuth 2.0 authentication system.
Table of contents
${your_logto_endpoint}/callback/${connector_id}
. e.g. https://foo.logto.app/callback/${connector_id}
. (The connector_id
can be also found on the top bar of the Logto Admin Console connector details page)
You can copy the
Callback URI
in the configuration section.
Name | Type |
---|---|
clientId | string |
clientSecret | string |
tenantId | string |
cloudInstance | string |
prompts | string[] |
scopes | string? |
You may find the Application (client) ID in the Overview section of your newly created application in the Azure Portal.
Usually, it is https://login.microsoftonline.com/
. See Azure AD authentication endpoints for more information.
Logto will use this field to construct the authorization endpoints. This value is dependent on the access type you selected when creating the application in the Azure Portal.
The prompts
field is an array of strings that specifies the type of user interaction that is required. The string can be one of the following values:
prompt=login
forces the user to enter their credentials on that request, negating single-sign on.prompt=none
is the opposite. It ensures that the user isn't presented with any interactive prompt. If the request can't be completed silently by using single-sign on, the Microsoft identity platform returns an interaction_required
error.prompt=consent
triggers the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.prompt=select_account
interrupts single sign-on providing account selection experience listing all the accounts either in session or any remembered account or an option to choose to use a different account altogether.Logto will concatenate the prompts with a space as the value of prompt
in the authorization URL.
The scopes
field is a space-separated list of scopes the application needs. The list of scopes can be found in the Microsoft Graph permissions reference.
The default scopes are User.Read
, leave this field empty unless you need other scopes.
FAQs
Microsoft Azure AD connector implementation.
We found that @logto/connector-azuread demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.