SFSafariViewController as log in page

Hello! I have an app with reach functionality, but now I decide use SFSafariViewController as my log in and registration page. After correct password entered, my app catch token by deep link and works. Is it legal? Could I have problems with review? Thanks!