Developer docs / Bundled addons
Microsoft Sign in with Microsoft.
Field Value Addon id sso-microsoftKind ssoProvides microsoftEngine wasmABI 0.2.0Version 0.1.0 Author MythicalSystems Source extensions/addons/sso-microsoftPermissions (shown at install) network.outbound
# Capabilities
Capability Value httplogin.microsoftonline.com, graph.microsoft.com, $setting:token_url, $setting:userinfo_urlsecretsnone
# Events and hooks
What Value Listens to (events) none Hooks none Emits none Mixins none Scheduled jobs none
# Settings and secrets
Setting Type Required client_idtextno client_secretsecretno button_labeltextno allow_registerboolno link_by_verified_emailboolno allow_staffboolno authorize_urltextno token_urltextno userinfo_urltextno scopetextno
Secrets (stored encrypted, never returned by the API): none.
Outbound HTTP allowed to: login.microsoftonline.com, graph.microsoft.com, $setting:token_url, $setting:userinfo_url. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.
# addon.json
extensions/addons/sso-microsoft/addon.json JSON Wrap Copy
{
" abi" : " 0.2.0" ,
" author" : " MythicalSystems" ,
" capabilities" : {
" http" : [
" login.microsoftonline.com" ,
" graph.microsoft.com" ,
" $setting:token_url" ,
" $setting:userinfo_url"
] ,
" secrets" : [ ]
} ,
" description" : " addons.desc.sso.microsoft" ,
" engine" : " wasm" ,
" id" : " sso-microsoft" ,
" kind" : " sso" ,
" name" : " Microsoft" ,
" permissions" : [
" network.outbound"
] ,
" provides" : " microsoft" ,
" settings" : [
{
" default" : " " ,
" key" : " client_id" ,
" kind" : " text" ,
" label" : " addons.sso.setting.client_id" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " client_secret" ,
" kind" : " secret" ,
" label" : " addons.sso.setting.client_secret" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " button_label" ,
" kind" : " text" ,
" label" : " addons.sso.setting.button_label" ,
" required" : false
} ,
{
" default" : true ,
" key" : " allow_register" ,
" kind" : " bool" ,
" label" : " addons.sso.setting.allow_register" ,
" required" : false
} ,
{
" default" : false ,
" key" : " link_by_verified_email" ,
" kind" : " bool" ,
" label" : " addons.sso.setting.link_by_verified_email" ,
" required" : false
} ,
{
" default" : false ,
" key" : " allow_staff" ,
" kind" : " bool" ,
" label" : " addons.sso.setting.allow_staff" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " authorize_url" ,
" kind" : " text" ,
" label" : " addons.sso.setting.authorize_url" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " token_url" ,
" kind" : " text" ,
" label" : " addons.sso.setting.token_url" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " userinfo_url" ,
" kind" : " text" ,
" label" : " addons.sso.setting.userinfo_url" ,
" required" : false
} ,
{
" default" : " " ,
" key" : " scope" ,
" kind" : " text" ,
" label" : " addons.sso.setting.scope" ,
" required" : false
}
] ,
" version" : " 0.1.0" ,
" wasm" : " addon.wasm"
}