Ways to do Authentication

Authentication

Authorization

CSRF (use cookie data)

XSS (inject JS)