I am developing a web server that 1) Provide normal cookie based sessions for desktop browsers 2) Provide JWT for mobile and REST api and some times we can use JWT for browser also 3) In future I have plans to provide OAuth functionality for this server.
Suggest me the way how to identify the request is coming from either desktop browser or native mobile web app or OAuth client