Comments (9)
Interesting, thanks. The only change I had to make to get Discord working was the one described above (adding
expires_in
to the model) -- maybe things have changed a bit since you worked on it.
also added a note for you so it will be easier next time
from create-jd-app.
it is not within @auth/solid-start
itself.
it is within the new core of AuthJS, you could make an issue and ask why this happens at https://github.com/nextauthjs/next-auth
from create-jd-app.
Not a 100% authority but as far as I can tell this model has only been tested with github.
I had to do semi-significant changes to make Discord work, intend to PR them back but am travelling and mostly on mobile device. Search solidstart-17
, I may or may not have pushed branch feature changes there can't recall.
from create-jd-app.
Interesting, thanks. The only change I had to make to get Discord working was the one described above (adding expires_in
to the model) -- maybe things have changed a bit since you worked on it.
from create-jd-app.
Interesting, thanks. The only change I had to make to get Discord working was the one described above (adding
expires_in
to the model) -- maybe things have changed a bit since you worked on it.
Yes this is in the core of authJs, different providers require different models. This model is for google, github, etc
from create-jd-app.
Interesting, thanks. The only change I had to make to get Discord working was the one described above (adding
expires_in
to the model) -- maybe things have changed a bit since you worked on it.also added a note for you so it will be easier next time
Actually now the default provider is Discord as i don't see many People who use Github and it causes issues for people who want to use other Providers:
from create-jd-app.
Nice.. it does still strike me as a bit odd though that the Discord adapter seems to work in T3 (NextAuth) even without such a modification. Since it works there, I wonder if it's something that could be fixed in @auth/solid-start
. 🤔
from create-jd-app.
it is not within
@auth/solid-start
itself.it is within the new core of AuthJS, you could make an issue and ask why this happens at https://github.com/nextauthjs/next-auth
Actually here is the answer for this issue: nextauthjs/next-auth#6538 (comment)
from create-jd-app.
Yep stumbled across that afterward too. At the end of the day simply changing the model was the right suggestion to quickly get things working 👍
Notice though that the breaking provider in the linked issue there is Google. Indeed I originally saw this error happening with Google as well as Discord. However, I went back and tried again, and Google seemed to work even without expires_in
🤷♂️
from create-jd-app.
Related Issues (20)
- trpc query options works not as expected 🧐 HOT 1
- Resolutions Errors HOT 2
- npm install error HOT 2
- [Question] Using within createServerData$ HOT 1
- When generating TRPC app, it uses a dependency that is not open-source (source available anywhere) HOT 2
- Not working in Mono/Turborepo HOT 1
- Uncaught ReferenceError: global is not defined HOT 1
- TypeError: __vite_ssr_import_0__.SolidAuth is not a function HOT 5
- (solid query/trpc) does not hydrate properly HOT 9
- query client should not be shared between requests HOT 2
- Broken CLI HOT 1
- Unexpected token < in JSON at position 0 HOT 1
- AuthJs on Cloudflare Workers HOT 2
- Error: "route.outlet is not a function" on creating a new jd app HOT 2
- route.outlet is not a function HOT 2
- Application not starting HOT 1
- No QueryClient set, use QueryClientProvider when using tRPC in server action HOT 1
- Latest Version of Tanstack Solid Query Breaking CreateJD HOT 5
- Private procedures throwing unauthorized issue HOT 3
- Can't import serverEnv from anything imported client-side (e.g. Co-located PRPC query + resolver) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-jd-app.