Flarum only uses cookies to store a token if you want to remember your log in and it stores a cookie with your session information. There is no way outside of Flarum to access other information. If you want to identify users outside of your forum use the API.
If you explain what you are trying to do we can better assist you in finding the best solution.