-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Centralize email configuration options #806
Comments
I could make a PR if you're not working on this already. |
@TheCraftKid thanks! Not working on this already but do you want to quickly outline what you think the API in this issue before starting a PR? That way we don't have to go back and forth on PR comments. |
This appears to be a good idea adding it to the |
I am wondering if we could do something tricky. Maybe This pattern would also allow us to do the same for other methods. For instance we could make |
Yeah, I was initially thinking generic classes would be the way to go. Just a bit more work. 😄 |
Would this be in 2.1.0, 2.2.0 or the next major release? |
I think this can be done in the next release (which we are now calling 2.1.1 but would be renamed 2.2.0 if we had this change). We can just mark the current email options as deprecated but not delete them, so it shouldn't be a breaking change. |
Okay, LGTM, I'll get to work. |
Okay, I want to squash #312, but the auth module is so dense, I don't know where to verify/check if the email is verified. Thoughts? |
@TheCraftKid maybe we split this up into two tasks? The first is the new config object, the second is adding the missing flags. There are some open questions for #312. I'd say what we want to do is fail email sign-in if we don't see |
Hey @TheCraftKid are you still working on this? If not I'd be happy to take over. |
Yeah, I meant to make sure this made it into version 3.0.0, but I got a bit busy on other projects. Let me make some more changes and push an updated version. |
@TheCraftKid When will this be finished by? I would like to have this implemented inside my app before I launch. Thanks 👍 |
I'm sorry to hold you up, but it'll likely be by the end of the day or
tomorrow evening, max.
…On Tue, Oct 10, 2017, 12:33 PM Ryan Dailey ***@***.***> wrote:
@TheCraftKid <https://github.com/thecraftkid> When will this be finished
by? I would like to have this implemented inside my app before I launch.
Thanks 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#806 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP3uIp73g_T1C6Tucz_rAuuKBnnHnLNUks5sq6pcgaJpZM4ObuSr>
.
|
Great! Sounds good to me. Thanks again |
On second thought, it's possibly likely we're going to lump this in with #962, so there's no telling when that's going to be completed. It may be anywhere from a week to whenever it's done, but we may introduce a minor version bump with a fix for this. I wouldn't bet on that, though. |
This has been fixed and released in version |
Right now we have an email option exposed on
SignInIntentBuilder
to allow new email accounts. We have multiple feature requests for other email flags:I'd like to see these implemented but don't think we should keep hanging random options off the sign-in intent builder. Instead we'd like something like this (pseudocode):
This is a much more scalable way to add flags over time.
The text was updated successfully, but these errors were encountered: