Force_install_if_needed for OAuth only app

I created my OAuth app, filled it out completely and activated it.
The only thing I did was not publish it on the marketplace.
Now if I try to log in from another account, I get an error.

I figured out that the app needs to be installed on the account before OAuth authorization. Later, I discovered the “force_install_if_needed” flag, which forces the installation during authorization—that’s exactly what I needed.

However, I’ve encountered a problem where even with this step, I can’t install my app for the same reasons. Does this mean I should still submit my app to the marketplace even when using “force_install_if_needed”?

P.S. I enabled “Share” in the settings and can share the installation link.

4 replies