mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
GitHub
This commit is contained in:
2
.github/workflows/discord.yml
vendored
2
.github/workflows/discord.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Github Releases To Discord
|
||||
- name: GitHub Releases To Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.15.1
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
|
||||
@@ -149,7 +149,7 @@ export default function SignIn() {
|
||||
d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"
|
||||
></path>
|
||||
</svg>
|
||||
Sign in with Github
|
||||
Sign in with GitHub
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
@@ -121,7 +121,7 @@ On top of normal methods, the client provides hooks to easily access different r
|
||||
<button v-if="!session.data" @click="() => authClient.signIn.social({
|
||||
provider: 'github'
|
||||
})">
|
||||
Continue with github
|
||||
Continue with GitHub
|
||||
</button>
|
||||
<div>
|
||||
<pre>{{ session.data }}</pre>
|
||||
@@ -169,7 +169,7 @@ On top of normal methods, the client provides hooks to easily access different r
|
||||
});
|
||||
}}
|
||||
>
|
||||
Continue with github
|
||||
Continue with GitHub
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -200,4 +200,4 @@ We highly recommend you visit the <Link href="https://docs.plasmo.com/">Plasmo d
|
||||
|
||||
If you would like to view a completed example, you can check out the <Link href="https://github.com/better-auth/better-auth/tree/main/examples/browser-extension-example">browser extension example</Link>.
|
||||
|
||||
If you have any questions, feel free to open an issue on our <Link href="https://github.com/better-auth/better-auth/issues">Github repo</Link>, or join our <Link href="https://discord.gg/6jHcdYMzyq">Discord server</Link> for support.
|
||||
If you have any questions, feel free to open an issue on our <Link href="https://github.com/better-auth/better-auth/issues">GitHub repo</Link>, or join our <Link href="https://discord.gg/6jHcdYMzyq">Discord server</Link> for support.
|
||||
@@ -56,7 +56,7 @@ const session = authClient.useSession()
|
||||
<button v-if="!session?.data" @click="() => authClient.signIn.social({
|
||||
provider: 'github'
|
||||
})">
|
||||
Continue with github
|
||||
Continue with GitHub
|
||||
</button>
|
||||
<div>
|
||||
<pre>{{ session.data }}</pre>
|
||||
@@ -127,5 +127,5 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||
### Resources & Examples
|
||||
|
||||
- [Nuxt and Nuxt Hub example](https://github.com/atinux/nuxthub-better-auth) on GitHub.
|
||||
- [NuxtZzle is Nuxt,Drizzle ORM example](https://github.com/leamsigc/nuxt-better-auth-drizzle) on github [preview](https://nuxt-better-auth.giessen.dev/)
|
||||
- [NuxtZzle is Nuxt,Drizzle ORM example](https://github.com/leamsigc/nuxt-better-auth-drizzle) on GitHub [preview](https://nuxt-better-auth.giessen.dev/)
|
||||
- [Nuxt example](https://stackblitz.com/github/better-auth/better-auth/tree/main/examples/nuxt-example) on StackBlitz.
|
||||
|
||||
@@ -61,7 +61,7 @@ Some of the actions are reactive. The client use [nano-store](https://github.com
|
||||
});
|
||||
}}
|
||||
>
|
||||
Continue with github
|
||||
Continue with GitHub
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function Index() {
|
||||
}}
|
||||
>
|
||||
<Ionicons name="github" size={16} />
|
||||
<Text>Sign In with Github</Text>
|
||||
<Text>Sign In with GitHub</Text>
|
||||
</Button>
|
||||
</View>
|
||||
<View className="flex-row gap-2 w-full items-center px-6 my-4">
|
||||
|
||||
Reference in New Issue
Block a user