-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
feat: β¨ add flag to disable getSession after signIn on local / refresh provider #702
feat: β¨ add flag to disable getSession after signIn on local / refresh provider #702
Conversation
Hi @bitfactory-frank-spee , thanks for your contribution, it looks good to me. I will come back to it after #694 , so that we can ensure that it's functionally good. |
@bitfactory-frank-spee Could you please sync your PR with the current main? |
@phoenix-ru I will update it this week π |
Done π |
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.
Hi @bitfactory-frank-spee π
Very close to being done! I have one minor renaming request and then we should be good to go, to release this in 0.8!
docs/content/3.application-side/2.session-access-and-management.md
Outdated
Show resolved
Hide resolved
Hi @bitfactory-frank-spee π We just released 0.8.0, so I would begin looking into getting this PR merged in the next release. Could you please merge main and we can then do a final round of reviews π |
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.
Just some typings missing π
Closing as this PR has gone stale. If someone else would like to take over the PR, feel free to fork the fixes and open a new PR π |
I need this. Really this was gone stale? |
Ahh, I now see that I needed to respond to this, and that I didn't. I have now: #702 (comment) |
I merged the current main into this PR and fixed the conflicts as the local and refresh provider are merged in the new release. I also fixed the documentation. |
commit: |
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.
Hi @bitfactory-frank-spee , sorry for us not answering for a long time, I would take over the PR and make sure it's over the line :)
@bitfactory-frank-spee, unfortunately, I cannot directly commit to your PR (probably due to restrictions on your org). I still checked it though and it seems to work, but I have several points |
No problem. I will check your comments today. |
Ah that could be. I am sorry about that. I can probably not change that immediately. Next time I will use my personal account. |
Co-authored-by: Marsel Shaikhin <[email protected]>
β¦hub.com/bitfactory-nl/nuxt-auth into feature/optional-get-session-on-sign-in
@phoenix-ru I fixed everything you asked. And updated this branch with the main branch. |
Hi @bitfactory-frank-spee , extremely sorry for deprioritizing this for a long time! I will ask @zoey-kaiser if she's fine with squeezing this PR into the upcoming |
Excellent! π π Thanks for the help. Good luck with further releases. |
π Linked issue
#701
β Type of change
π Description
See issue for clarification. This adds a flag to the signInOptions named
withSession
which defaults to true. This makes sure this will be backwards compatible. WhenwithSession === false
thegetSession
method will not be called.This also includes a bug fix (681fdb0) where refresh was not equal to local provider.
π Checklist
NOTE: this documentation mentioned
withGetSession
before and notwithSession
as decided to be the name later.