Login to discourse website automatically

With this way, how we make sure user is authenticated?