RaunoT / plex-rewind

Present Plex user statistics and habits in a beautiful and organized manner.
GNU General Public License v3.0
175 stars 8 forks source link

Forked to Vercel Error #36

Closed Jobinrandhawa closed 9 months ago

Jobinrandhawa commented 9 months ago

I forked the project and got it up and running to the login with plex page but plex returns "We were unable to complete this request. You will be redirected automatically." and the goes to plex.tv.

PizzaPino commented 9 months ago

same problem for me.

tarunkumar519 commented 9 months ago

After deploying to vercel you will be assgned a subdomain with vercel for your app. Have you updated this URL for ‎NEXT_PUBLIC_SITE_URL and ‎NEXTAUTH_URL inside environment variables in vercel? I think you may also have to update this URL inside next.config.js under images.remotePatterns.

Jobinrandhawa commented 9 months ago

After deploying to vercel you will be assgned a subdomain with vercel for your app. Have you updated this URL for ‎NEXT_PUBLIC_SITE_URL and ‎NEXTAUTH_URL inside environment variables in vercel? I think you may also have to update this URL inside next.config.js under images.remotePatterns.

Yes this worked for me, thank you.

tarunx commented 9 months ago

Hey, however after updating this way now it says API auth error after login. Are you having same issue?

Jobinrandhawa commented 9 months ago

Hey, however after updating this way now it says API auth error after login. Are you having same issue?

no, can you post a screenshot?

tarunx commented 9 months ago

It just goes to this page, i think you can check by just putting this after your url

something.vercel.app/api/auth/error

here something is my app name inside vercel