-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth-core-redo #121
Auth-core-redo #121
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's also https://github.com/get-convex/convex-auth/blob/main/src/server/provider_utils.ts
Once we get something working, would love to see this rebased into commits of straight copies + the manual changes we make on top so any future upgrades will be easier
891d518
to
8c3e67a
Compare
e6d9b6e
to
4590d27
Compare
4590d27
to
198ccc8
Compare
Okay, the whole thing is rebased on top of a straight import of the forked versions. We could optionally check that commit in separately if we want the pristine versions in our actual commit history. I have a branch with just that change if we want to do that. |
a974b37
to
ad4931d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we've done some manual testing, I'm down.
My last request would be to rebase this cleanly so it's straight copy paste from @auth/core
followed by all manual changes (and don't squash the commits), but if that's too time consuming down to just merge as is
Thanks for the review!
That's why I did in 84c10c7 - maybe what you mean is that should be checked in separately so it's part of the repo history? |
a5a2c4c
to
99b9936
Compare
99b9936
to
cb26edc
Compare
Okay, that part is now in a separate PR (#130). |
cb26edc
to
e67549e
Compare
Includes a number of changes to adapt forked @auth/core code from 0.37 for our purposes.
* getAuthorizationUrl and handleOAuth are now passed an actual InternalProvider, instead of some other type cast as any * The InternalProvider is constructed from a new oAuthConfigToInternalProvider function that replaces the getConfig function - it converts from an OAuthConfig to an InternalProvider * Adds a couple bits to the InternalProvider type that were always used along with it
fbff0e2
to
146e2a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
/** @internal */ | ||
/** | ||
* @internal | ||
* @deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably shouldn't be adding a @deprecated
? Potentially from a bad rebase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh woops, missed this comment. I'll address in a follow-up.
Includes a number of changes to adapt forked @auth/core code from 0.37 for our purposes.
Includes contributions from dowski and sshader.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.