Skip to content

Commit

Permalink
Chore: Added Telegram Login Support
Browse files Browse the repository at this point in the history
  • Loading branch information
muktanshumishra24 committed Sep 19, 2024
1 parent 06b8ef7 commit a1cf625
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Auth SDK exposes the standard [Ethereum provider](https://eips.ethereum.org/EIPS
- Twitter
- Twitch
- Apple
- Telegram

- Custom IAM

Expand Down
1 change: 1 addition & 0 deletions src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export type Logins =
| 'github'
| 'discord'
| 'twitch'
| 'telegram'
| 'twitter'
| 'aws'
| 'firebase'
Expand Down
1 change: 1 addition & 0 deletions src/ui/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const SOCIAL_LOGO: { [k: string]: string } = {
github: `${BASE_URL}/github.png`,
github_light: `${BASE_URL}/github-light.png`,
twitch: `${BASE_URL}/twitch.png`,
telegram: `${BASE_URL}/telegram.png`,
discord: `${BASE_URL}/discord.png`,
aws: `${BASE_URL}/aws.png`,
aws_light: `${BASE_URL}/aws_light.png`,
Expand Down
2 changes: 1 addition & 1 deletion usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const provider = await auth.connect()
Social login

```js
// loginType - Google, Discord, Twitter, GitHub, Twitch
// loginType - Google, Discord, Twitter, GitHub, Twitch, Apple & Telegram
const provider = await auth.loginWithSocial(`${loginType}`)
```

Expand Down

0 comments on commit a1cf625

Please sign in to comment.