Hi romunov,
I can't speak for the possibility of doing this through shinyapps.io, but I believe the shjinyauthjr
package may be helpful to you.
See also this discussion.
I believe on shinyapps.io, your app is either "public" or "private" with pre-defined "authorised users" (see here).
Best,
Lars