Closed rmarscher closed 10 months ago
I'm setting up Google OAuth to test that flow... stand by...
Very nice contribution, looking forward to seeing this merged into master 😊
Thanks for the huge legwork here, I've been able to implement your changes and things look to be working well. Noting that we are slightly blocked until the next beta of Lucia, as there is a necessary change to Lucia v3 for verifying the bearer token. (However it's easy enough to fix in your own local node_modules)
https://github.com/lucia-auth/lucia/pull/1258#discussion_r1390586988
Thanks for the huge legwork here, I've been able to implement your changes and things look to be working well. Noting that we are slightly blocked until the next beta of Lucia, as there is a necessary change to Lucia v3 for verifying the bearer token. (However it's easy enough to fix in your own local node_modules)
Thanks a lot. I noticed those bugs when testing too. Sorry I didn't push those fixes already. I'm looking into an issue with getting the oauth state on native and hope to have that resolved soon. I assume a new lucia beta will get released on npm today. I saw your fix was merged.
Thanks for the huge legwork here, I've been able to implement your changes and things look to be working well. Noting that we are slightly blocked until the next beta of Lucia, as there is a necessary change to Lucia v3 for verifying the bearer token. (However it's easy enough to fix in your own local node_modules)
Thanks a lot. I noticed those bugs when testing too. Sorry I didn't push those fixes already. I'm looking into an issue with getting the oauth state on native and hope to have that resolved soon. I assume a new lucia beta will get released on npm today. I saw your fix was merged.
Of course my friend, thanks for doing the vast vast majority of the work! Let me know if I can assist further :)
Again I cannot thank you enough for this Herculean effort you've made here. The code is easy to follow and reason with even for an auth layperson like myself. I've implemented your updates on my local branch and things are working smoothly!
I'll give it another pass through tomorrow but for now...bed!
The lucia-auth
branch is now called lucia
I switched the PR to point to lucia
and addressed the items that @hdwatts noted. :+1:
I'm going to merge it in. We can submit further PRs to address any remaining issues.
LGTM ship it!!
I rebased on the latest master branch and squashed some commits. So probably best to do a hard-reset of your lucia-auth branch to this version rather than try to merge. I think after that, it's ready to go to master.
I still don't personally have Apple, Google, Discord or GitHub OAuth client tokens, so most testing has been with the email/password flows. I might set up Google to have something to test with.I have tested email/password flows plus Google on iOS simulator and desktop Chrome and Safari as well as Sign in with Apple on iOS simulator.See 51dbbe2 for the code around upgrading from lucia v2 to v3.