Skip to content

Commit

Permalink
Merge pull request #27 from natac13/feat/add-linkedin-auth
Browse files Browse the repository at this point in the history
feat: expose linkedin auth and update readme
  • Loading branch information
TheRealFlyingCoder authored Dec 29, 2023
2 parents 9663295 + 8dedfcb commit 171c72e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Please visit the repo's of each package to understand the specifics on their usa

[remix-auth-twitter](https://github.com/na2hiro/remix-auth-twitter) - By [na2hiro](https://github.com/na2hiro)

[remix-auth-linkedin](https://github.com/Lzok/remix-auth-linkedin) - By [Lzok](https://github.com/Lzok)

## Supported runtimes

All strategies will support cloudflare
Expand Down Expand Up @@ -89,6 +91,7 @@ export default function Login() {
<SocialButton provider={SocialsProvider.GOOGLE} label="Login with Google" />
<SocialButton provider={SocialsProvider.FACEBOOK} label="Login with Facebook" />
<SocialButton provider={SocialsProvider.MICROSOFT} label="Login with Microsoft" />
<SocialButton provider={SocialsProvider.LINKEDIN} label="Login with LinkedIn" />
</>
);
}
Expand Down
7 changes: 5 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ export * from './strategies/github';
export * from './strategies/facebook';
export * from './strategies/microsoft';
export * from './strategies/twitter';
export * from './strategies/linkedin';

export const SocialsProvider = {
DISCORD: DiscordStrategyDefaultName,
FACEBOOK: 'facebook',
GITHUB: GitHubStrategyDefaultName,
GOOGLE: GoogleStrategyDefaultName,
MICROSOFT: MicrosoftStrategyDefaultName,
TWITTER: TwitterStrategyDefaultName
TWITTER: TwitterStrategyDefaultName,
LINKEDIN: 'linkedin',
} as const;

export type SocialsProvider = typeof SocialsProvider[keyof typeof SocialsProvider];
export type SocialsProvider =
typeof SocialsProvider[keyof typeof SocialsProvider];
1 change: 1 addition & 0 deletions src/strategies/linkedin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'remix-auth-linkedin'

0 comments on commit 171c72e

Please sign in to comment.