schema([ TextEntry::make('create_application') ->hiddenLabel() ->state(new HtmlString(Blade::render('

Visit the Facebook Developer Dashboard and select or create a new app you will use for authentication. Make sure to have "Authenticate and request data from users with Facebook Login" as one of the Use Cases.

Once selected go to Use Cases and customize "Authenticate and request data from users with Facebook Login", from there go to Settings and add Valid OAuth Redirect URIs using the value below.

'))), TextInput::make('_noenv_callback') ->label('Valid OAuth Redirect URIs') ->dehydrated() ->disabled() ->hintCopy() ->default(fn () => url('/auth/oauth/callback/facebook')), TextEntry::make('get_app_info') ->hiddenLabel() ->state(new HtmlString(Blade::render('

To obtain the OAuth values go to App Settings > Basic.

'))), ]), ], parent::getSetupSteps()); } public function getIcon(): string { return 'tabler-brand-facebook-f'; } public function getHexColor(): string { return '#1877f2'; } }