3ventic / discord-rss

Lightweight, easy-to-use RSS feed => Discord service
MIT License
17 stars 4 forks source link

Redirects ? #12

Open argonan0 opened 1 year ago

argonan0 commented 1 year ago

What is the discord redirect URI supposed to be?

3ventic commented 1 year ago

it's the public URL to where you're hosting it with /api/auth/callback/discord. On railway it's something like https://<deployment_name>.up.railway.app/api/auth/callback/discord

argonan0 commented 1 year ago

Oh... but why wouldn't the server just fetch the RSS feed data locally and send via Webhook to discord?

To clarify, I would not be hosting this anywhere but running it locally - is there some way to do that?

3ventic commented 1 year ago

The redirect is necessary for the login with Discord to access the UI which is not optional currently. The fetching and webhook don't need it, but you need it to create any feeds.