P
Postiz•2mo ago
Support

Ticket: Github OAuth Callback URL Configuration Issue

@KINO Just created a ticket
Question: Unable to connect to Github repository, app throws an undefined URL
Attempted: Setting Github app callback URL to "https://social.domain.com/settings" allows me to get all the way to the Github oauth screen. I click authorize and see the error in the frontend.
Working On: Just trying to get the app started for the first time. I am not sure what the callback url should be as I didn't see it anywhere in the documentation. I may have missed it, so I've been trying to reverse engineer it.
Using Postiz On: Docker-compose
Take it from here @Postiz
12 Replies
KINO
KINO•2mo ago
KINO
KINO•2mo ago
TypeError: Failed to parse URL from undefined/settings/github
at new Request (node:internal/deps/undici/undici:9271:19)
at i (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180562)
... 6 lines matching cause stack trace ...
at a.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18671)
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:15442 {
digest: '4067329723',
[cause]: TypeError: Invalid URL
at new URL (node:internal/url:797:36)
at new Request (node:internal/deps/undici/undici:9269:25)
at i (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180562)
at G (/app/dist/apps/frontend/.next/server/chunks/808.js:2:6847)
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:9093
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:15909
at a.with (/app/dist/apps/frontend/.next/server/chunks/808.js:1:8882)
at c.with (/app/dist/apps/frontend/.next/server/chunks/808.js:1:3082)
at c.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18137)
at a.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18671) {
code: 'ERR_INVALID_URL',
input: 'undefined/settings/github'
}
}
TypeError: Failed to parse URL from undefined/settings/github
at new Request (node:internal/deps/undici/undici:9271:19)
at i (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180562)
... 6 lines matching cause stack trace ...
at a.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18671)
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:15442 {
digest: '4067329723',
[cause]: TypeError: Invalid URL
at new URL (node:internal/url:797:36)
at new Request (node:internal/deps/undici/undici:9269:25)
at i (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180562)
at G (/app/dist/apps/frontend/.next/server/chunks/808.js:2:6847)
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:9093
at /app/dist/apps/frontend/.next/server/chunks/808.js:2:15909
at a.with (/app/dist/apps/frontend/.next/server/chunks/808.js:1:8882)
at c.with (/app/dist/apps/frontend/.next/server/chunks/808.js:1:3082)
at c.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18137)
at a.startActiveSpan (/app/dist/apps/frontend/.next/server/chunks/808.js:1:18671) {
code: 'ERR_INVALID_URL',
input: 'undefined/settings/github'
}
}
egelhaus
egelhaus•2mo ago
What do you need GitHub for in Postiz? @KINO
KINO
KINO•2mo ago
I may be a little confused, as this is what I'm seeing when accessing the docker image I pulled on unRAID, should this be populated with analytics? https://i.imgur.com/S4lsOtx.png
Imgur
KINO
KINO•2mo ago
I do see the different social media channels supported under Channels > Add Channel, but some of the other tabs seem non-functional without a connection to some sort of github repo, although I might be misunderstanding the scope of the project and how it relates back to Gitroom listed at the top
Nevo David
Nevo David•2mo ago
@KINO you are using Gitroom which is not supported at the moment, please add to your env variables IS_GENERAL=true
KINO
KINO•2mo ago
Thank you, that worked. With uploads set to local, will I still need to setup the cloudflare bucket?
Nevo David
Nevo David•2mo ago
Nope, you can stay with local 🙂
egelhaus
egelhaus•2mo ago
Can I close this ticket, or do you have anything else?
KINO
KINO•2mo ago
Should be good to close, thank you for the help!
egelhaus
egelhaus•2mo ago
No Problem!
Support
SupportOP•2mo ago
This thread is now closed! Feel free to open a new one if you need help

Did you find this page helpful?