From e76114508bbd2824775eddaba85108b3b72a1693 Mon Sep 17 00:00:00 2001 From: Sean Campbell Date: Mon, 11 Sep 2023 20:15:12 -0400 Subject: [PATCH 1/2] feat: expose linkedin auth and update readme --- README.md | 3 +++ src/index.ts | 7 +++++-- src/strategies/linkedlin.ts | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/strategies/linkedlin.ts diff --git a/README.md b/README.md index f39c60f..4684d6a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -89,6 +91,7 @@ export default function Login() { + ); } diff --git a/src/index.ts b/src/index.ts index 1fde702..63c5a26 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,6 +10,7 @@ export * from './strategies/github'; export * from './strategies/facebook'; export * from './strategies/microsoft'; export * from './strategies/twitter'; +export * from './strategies/linkedlin'; export const SocialsProvider = { DISCORD: DiscordStrategyDefaultName, @@ -17,7 +18,9 @@ export const SocialsProvider = { GITHUB: GitHubStrategyDefaultName, GOOGLE: GoogleStrategyDefaultName, MICROSOFT: MicrosoftStrategyDefaultName, - TWITTER: TwitterStrategyDefaultName + TWITTER: TwitterStrategyDefaultName, + LINKEDIN: 'linkedin', } as const; -export type SocialsProvider = typeof SocialsProvider[keyof typeof SocialsProvider]; \ No newline at end of file +export type SocialsProvider = + typeof SocialsProvider[keyof typeof SocialsProvider]; diff --git a/src/strategies/linkedlin.ts b/src/strategies/linkedlin.ts new file mode 100644 index 0000000..b0605f7 --- /dev/null +++ b/src/strategies/linkedlin.ts @@ -0,0 +1 @@ +export * from 'remix-auth-linkedin' From 8dedfcb77f38069ff0eab38c538f7e6e3135f000 Mon Sep 17 00:00:00 2001 From: Sean Campbell Date: Mon, 11 Sep 2023 20:17:14 -0400 Subject: [PATCH 2/2] fix: filename typo --- src/index.ts | 2 +- src/strategies/{linkedlin.ts => linkedin.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/strategies/{linkedlin.ts => linkedin.ts} (100%) diff --git a/src/index.ts b/src/index.ts index 63c5a26..43dc003 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ export * from './strategies/github'; export * from './strategies/facebook'; export * from './strategies/microsoft'; export * from './strategies/twitter'; -export * from './strategies/linkedlin'; +export * from './strategies/linkedin'; export const SocialsProvider = { DISCORD: DiscordStrategyDefaultName, diff --git a/src/strategies/linkedlin.ts b/src/strategies/linkedin.ts similarity index 100% rename from src/strategies/linkedlin.ts rename to src/strategies/linkedin.ts