otrojka
WWasp-lang
•Created by otrojka on 7/30/2024 in #🙋questions
Github Oauth additional query parameters
Hello 👋 , I am having trouble to include additional query parameter inside Oauth flow using wasp. The default authorize call made by wasp generated src looks like
https://github.com/login/oauth/authorize?response_type=code&client_id=xxx&state=xxx&scope=user%3Aemail
and I need to specify additional parameter:redirect_uri
(details https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps#1-request-a-users-github-identity)
However, the docs mentions only support for scopes
using configFn
-> https://wasp-lang.dev/docs/auth/social-auth/github#configfn-extimport
Any ideas how to do that?8 replies
WWasp-lang
•Created by otrojka on 6/29/2024 in #🙋questions
Dependency issue with fly.io server deploy
Hello everyone 👋 ,
I followed the instruction and deployed SaaS template with
client and database were created with no issues but server returns attached error message. 👉 In short fly server machine logs these missing dependencies -
wasp deploy fly launch <project-name> iad
client and database were created with no issues but server returns attached error message. 👉 In short fly server machine logs these missing dependencies -
Error: Cannot find module '@node-rs/argon2-wasm32-wasi'
- Error: Cannot find module '@node-rs/argon2-linux-x64-musl'
👉 I narrowed it down to being caused by: https://github.com/pilcrowOnPaper/oslo/issues/25 caused by oslo
and lucia
dependency @node-rs/argon2
which is used by wasp
I am not sure how to configure the sdk versions as it seems to be built in wasp cli commad.
👉 It seems to be linked to this recently opened wasp issue: https://github.com/wasp-lang/wasp/issues/2136
Wasp: 0.13.2
🤔 I wonder if I am the only one with this dependency error...14 replies