I am using: https://github.com/thephpleague/oauth2-client and https://github.com/TheNetworg/oauth2-azure to allow users to register/login using their MS accounts.
I have the first bit working: Users click the login with MS button. Request is then sent and received for auth code. Request is then sent and received for token.
I then create a new user in my application and log them in.
What should happen the second time they visit my application? Should they click the button again and somehow be logged in using the token?