Login Users from External Application

What is the best practice to create an integration with an existing non-Bubble app and being able to login / signup user existing (and already authenticated) in the external app ? This scenario is quite common in startup that maybe have started coding their own web app and would like to add Bubble for growing functionalities. I appreciate if someone wants to share his/her experience. Thanks