Security alert when authenticating with Plex

I’m building an app that pulls in movies from a user’s Plex library so they can start voting sessions with their friends to decide what movie to watch. My authentication is working except, but users are getting a security warning since their account is being accessed from the server that is hosting the app:

Security Alert

Another device is attempting to sign in using your Plex account. You should only continue if you know this device and intend to grant it access.

34.239.171.115 (Ashburn, Virginia, United States)

This is what my auth url looks like:
https://app.plex.tv/auth/#?clientID=voterr-8a72523d-4e4r-2g1h-9i8j-7k6u02vn3o2p&code=xxxxxxxxx&context[device][product]=Voterr&forwardUrl=https%3A%2F%2Fvoterr.tv%2Fplex_auth%2Fcallback

I noticed other apps that authenticate with Plex don’t have that security warning. What do I need to change to remove the warning?

The authentication flow needs to be done client side (in the browser), not server side (in your app), and you pass the token to your app when authentication is successful.

Thank you @SwiftPanda16! It’s beautiful :smiling_face_with_tear: