Skip to content

Commit

Permalink
feat(types): Add support for oauth_microsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
yourtallness committed Feb 25, 2022
1 parent 3a8eed0 commit 96c1cc6
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 @@ -100,6 +100,10 @@ export const OAUTH_PROVIDERS: OAuthProviders = Object.freeze({
id: 'bitbucket',
name: 'Bitbucket',
},
microsoft: {
id: 'microsoft',
name: 'Microsoft',
},
});

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 @@ -10,7 +10,8 @@ export type OAuthProvider =
| 'twitch'
| 'linkedin'
| 'dropbox'
| 'bitbucket';
| 'bitbucket'
| 'microsoft';

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

Expand Down

0 comments on commit 96c1cc6

Please sign in to comment.