diff --git a/src/index.ts b/src/index.ts index 4aebe43..5ccf4fd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 diff --git a/src/types.ts b/src/types.ts index 03afb84..044ed15 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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; @@ -203,6 +204,7 @@ export enum OAuthProviders { Twitter = 'twitter', Microsoft = 'microsoft', Twitch = 'twitch', + Roblox = 'roblox', } export enum ResponseTypes {