Does the app name specified during app integration setup get dynamically inserted into the Redirect URI? For instance, if my app integration is named “MyAwesomeApp,” and you utilize the URL: http://localhost:8080/realms/master/broker/{app.name}/endpoint, Okta will automatically replace {app.name} with “MyAwesomeApp.”
This dynamic replacement ensures that each app has a unique Redirect URI that corresponds with its name. As a result, the Redirect URI for your app integration once installed in Okta will appear as:
http://localhost:8080/realms/master/broker/MyAwesomeApp/endpoint
reference : Publish an OIN integration | Okta Developer