Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Added Telegram Login Support #234

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading