Skip to main content

Creating a Session

let oauthSession = await metorial.oauth.sessions.create({
  serverDeploymentId: 'slack-deployment-id'
});

console.log('Authorize:', oauthSession.url);