@Spasova, Monika Thank you for reaching out to us, just wanted to check does your app is a gallery app ? Because in our documentation - https://learn.microsoft.com/en-us/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups#how-to-setup-oauth-code-grant-flow:~:text=non%2Dgallery%20apps.-,OAuth%20authorization%20code%20grant,-Access%20tokens%20have
OAuth authorization code grant - Supported for gallery apps, but not non-gallery apps. However, you can provide an access token in the UI as the secret token for short term testing purposes. Support for OAuth code grant on non-gallery is in our backlog, in addition to support for configurable auth / token URLs on the gallery app.
Let me know if this helps to answer your query, else feel free to post back, would be happy to check with my team or research further on this and revert back.