MainStreet · OAuth Scopes

MainStreet OAuth Scopes

OAuth 2.0 probed

MainStreet publishes 14 OAuth 2.0 scopes via the authorizationCode, clientCredentials, implicit, and deviceCode flows. Scopes are the fine-grained permissions an application requests at authorization time to act against the MainStreet API on a user’s behalf.

Tokens are issued from https://login.mainstreet.com/oauth/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

CompanyTaxTax CreditsAccountingFinancial-ServicesSmall BusinessFintechBookkeepingCompliancePayroll
Scopes: 14 Flows: authorizationCode, clientCredentials, implicit, deviceCode Method: probed

OAuth endpoints

Authorization URL
https://login.mainstreet.com/authorize
Token URL
https://login.mainstreet.com/oauth/token
Flows
authorizationCodeclientCredentialsimplicitdeviceCode

Scopes (14)

ScopeDescriptionFlows
openid Request an ID token — the base OpenID Connect scope.
profile Access the end user's default profile claims.
offline_access Issue a refresh token so the client can act after the access token expires.
name The end user's full name claim.
given_name The end user's given name claim.
family_name The end user's family name claim.
nickname The end user's nickname claim.
email The end user's email address claim.
email_verified Whether the end user's email address has been verified.
picture The end user's profile picture URL claim.
created_at When the end user's identity record was created.
identities The linked identity providers on the end user's account.
phone The end user's phone number claim.
address The end user's address claim.

Source

OAuth Scopes

mainstreet-scopes.yml Raw ↑
generated: '2026-08-04'
method: probed
source: https://login.mainstreet.com/.well-known/openid-configuration
docs: https://login.mainstreet.com/.well-known/openid-configuration
note: >-
  These are the scopes the MainStreet identity host advertises in its OIDC
  discovery document (an Auth0 tenant). They are the standard OIDC scope set plus
  Auth0's per-claim scopes — MainStreet publishes no product-specific API scopes,
  because it publishes no public product API. Nothing below is inferred; every
  scope is transcribed verbatim from scopes_supported.
schemes:
- name: MainStreet OIDC (Auth0 tenant)
  source: well-known/mainstreet-openid-configuration.json
  issuer: https://login.mainstreet.com/
  flows:
  - flow: authorizationCode
    authorizationUrl: https://login.mainstreet.com/authorize
    tokenUrl: https://login.mainstreet.com/oauth/token
  - flow: clientCredentials
    tokenUrl: https://login.mainstreet.com/oauth/token
  - flow: implicit
    authorizationUrl: https://login.mainstreet.com/authorize
  - flow: deviceCode
    deviceAuthorizationUrl: https://login.mainstreet.com/oauth/device/code
    tokenUrl: https://login.mainstreet.com/oauth/token
scopes:
- scope: openid
  description: Request an ID token — the base OpenID Connect scope.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: profile
  description: Access the end user's default profile claims.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: offline_access
  description: Issue a refresh token so the client can act after the access token expires.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: name
  description: The end user's full name claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: given_name
  description: The end user's given name claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: family_name
  description: The end user's family name claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: nickname
  description: The end user's nickname claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: email
  description: The end user's email address claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: email_verified
  description: Whether the end user's email address has been verified.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: picture
  description: The end user's profile picture URL claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: created_at
  description: When the end user's identity record was created.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: identities
  description: The linked identity providers on the end user's account.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: phone
  description: The end user's phone number claim.
  sources: [well-known/mainstreet-openid-configuration.json]
- scope: address
  description: The end user's address claim.
  sources: [well-known/mainstreet-openid-configuration.json]
x-evidence:
  fetched: '2026-08-04'
  url: https://login.mainstreet.com/.well-known/openid-configuration
  http_status: 200

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/mainstreet-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.