Skip to content

Commit

Permalink
feat: add support for roblox
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhansamani committed May 1, 2024
1 parent f0a9cdb commit 22013be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class Authorizer {
try {
const res = await this.graphqlQuery({
query:
'query { meta { version client_id is_google_login_enabled is_facebook_login_enabled is_github_login_enabled is_linkedin_login_enabled is_apple_login_enabled is_twitter_login_enabled is_microsoft_login_enabled is_twitch_login_enabled is_email_verification_enabled is_basic_authentication_enabled is_magic_link_login_enabled is_sign_up_enabled is_strong_password_enabled is_multi_factor_auth_enabled is_mobile_basic_authentication_enabled is_phone_verification_enabled } }',
'query { meta { version client_id is_google_login_enabled is_facebook_login_enabled is_github_login_enabled is_linkedin_login_enabled is_apple_login_enabled is_twitter_login_enabled is_microsoft_login_enabled is_twitch_login_enabled is_roblox_login_enabled is_email_verification_enabled is_basic_authentication_enabled is_magic_link_login_enabled is_sign_up_enabled is_strong_password_enabled is_multi_factor_auth_enabled is_mobile_basic_authentication_enabled is_phone_verification_enabled } }',
});

return res?.errors?.length
Expand Down
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export interface MetaData {
is_twitter_login_enabled: boolean;
is_microsoft_login_enabled: boolean;
is_twitch_login_enabled: boolean;
is_roblox_login_enabled: boolean;
is_email_verification_enabled: boolean;
is_basic_authentication_enabled: boolean;
is_magic_link_login_enabled: boolean;
Expand Down Expand Up @@ -203,6 +204,7 @@ export enum OAuthProviders {
Twitter = 'twitter',
Microsoft = 'microsoft',
Twitch = 'twitch',
Roblox = 'roblox',
}

export enum ResponseTypes {
Expand Down

0 comments on commit 22013be

Please sign in to comment.