schema([ TextEntry::make('create_application') ->hiddenLabel() ->state(new HtmlString(Blade::render('
Visit the
Go to the app\'s settings and set up User authentication if not yet. Make sure to select Web App as the type of app.
For the Callback URI / Redirect URL and Website URL set it using the value below.
'))), TextInput::make('_noenv_origin') ->label('Website URL') ->dehydrated() ->disabled() ->hintCopy() ->default(fn () => url('')), TextInput::make('_noenv_callback') ->label('Callback URI / Redirect URL') ->dehydrated() ->disabled() ->hintCopy() ->default(fn () => url('/auth/oauth/callback/x')), TextEntry::make('register_application') ->hiddenLabel() ->state(new HtmlString('If you have already set this up go to your app\'s Keys and tokens and obtain the Client ID and Secret there.
')), ]), ], parent::getSetupSteps()); } public function getIcon(): string { return 'tabler-brand-x'; } public function getHexColor(): string { return '#1da1f2'; } }