- The user click on how he want to being logged in
- Our server handle the request
- Our server ask the provider for his permission to access user's account : If the user wants to be logged with his Google's account's informations, we will use Google as a provider for instance.
- Provider gives his answer through a route we have gave to him.
- Our server handle the previous response
- If it's ok we can store or use the data retrieved by the provider or even create a cookie.
Strategies are third part modules that allow us to call the provider's server. For each provider you want (Google, GitHub ...) you will need to install a strategie.