nainglinnkhant
BABetter Auth
•Created by nainglinnkhant on 2/18/2025 in #help
OAuth Proxy plugin not working
GitHub config:
Homepage URL - https://app.website.com
Authorization callback URL - https://app.website.com/api/auth/callback/github
3 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
I see, thanks for your time! 🙌
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
yes, my plan is to use one app's auth routes from another app
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
my auth server config already has trustedOrigins configured
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
@bekacru It worked after manually modifying the header of GET and POST route handlers. But for social sign-ins, it still redirects to the original baseURL (for example, I call the localhost:3001's API route from localhost:3002 and after sign-in is successful, it redirects to the localhost:3001 instead of localhost:3002). I get that it's the expected behavior. But is there any way to change it? I tried setting callbackURL like below but doesn't work.
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
I'm using nextjs 15
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
you mean
crossSubDomainCookies
? If you mean other cors config, could you please tell me how to configure?15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
@bekacru could you please check this? : )
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/13/2025 in #help
Can I share client API routes across subdomains?
When I remove
no-cors
, I get the cors error as below:
My server config is as below. Do I need to add or change anything to make it work?
15 replies
BABetter Auth
•Created by nainglinnkhant on 2/12/2025 in #help
Social login on server
Yea, it's still returning invalid url. The provider is github.
7 replies
BABetter Auth
•Created by nainglinnkhant on 2/12/2025 in #help
Social login on server
I tried with "/" and "/dashboard" too. But didn't work.
7 replies