Visit the X Developer Dashboard and create or select the project app you want to use.
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.