Skip to content

Commit

Permalink
feat(types,clerk-js): Introduce Notion OAuth (#72)
Browse files Browse the repository at this point in the history
Introduce declarations for supporting Notion OAuth
  • Loading branch information
chanioxaris authored Mar 2, 2022
1 parent f9f236a commit 9e556d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/clerk-js/src/ui/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export const OAUTH_PROVIDERS: OAuthProviders = Object.freeze({
id: 'microsoft',
name: 'Microsoft',
},
notion: {
id: 'notion',
name: 'Notion',
},
});

export function getOAuthProviderData(
Expand Down
3 changes: 2 additions & 1 deletion packages/types/src/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export type OAuthProvider =
| 'linkedin'
| 'dropbox'
| 'bitbucket'
| 'microsoft';
| 'microsoft'
| 'notion';

export type OAuthStrategy = `oauth_${OAuthProvider}`;

Expand Down

0 comments on commit 9e556d0

Please sign in to comment.