Dynamic host url or OST_BASE_HOST
#280
AlecBlance
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
|
Is your callback url on your GitHub oauth pointing to localhost:3000? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a self-hosted website that uses Outstatic. However, I have an issue where after the callback has been called, it would redirect to
localhost:3000. I've looked into this and it seemed that we don't have control over host if I'm correct.outstatic/packages/outstatic/src/app/api/auth/callback.ts
Lines 95 to 102 in cf34776
We can simply add another env variable (e.g.
OST_BASE_HOST) that replaces the scheme and host. Let me know what you think.Beta Was this translation helpful? Give feedback.
All reactions