Skip to content
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

Add attributes section to sign up request and optional attributes #28

Merged
merged 3 commits into from
Oct 2, 2016

Conversation

barretodaniel
Copy link
Contributor

closes #15

+ attributes (object, required)
+ username (string, required)
+ password (string, required)
+ createdAt (string, optional) - timestamp the user account was created on the client
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To show the difference between optional and required request body attributes, it was necessary to add this. What other optional attributes are can be sent? Also, id inside attributes or outside like it is now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would leave out the createdAt attribute here, and set username & password to optional. They are just examples, the app implementing the spec can decide what attributes they want to use for their accounts.

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :) Thanks!

@gr2m gr2m merged commit 0406f1b into master Oct 2, 2016
@gr2m gr2m deleted the 15/sign-up-attributes branch October 2, 2016 17:58
@gr2m
Copy link
Member

gr2m commented Oct 2, 2016

Hey @barretodaniel, are you on twitter? We like giving shout outs to new contributors :) Only if you like of course

@barretodaniel
Copy link
Contributor Author

I have a twitter but it's been a few months since I've used it lol. I
appreciate the gesture however. Feel free to mention my github if you like.
On Sun, Oct 2, 2016 at 2:02 PM Gregor Martynus notifications@github.com
wrote:

Hey @barretodaniel https://github.com/barretodaniel, are you on
twitter? We like giving shout outs to new contributors :) Only if you like
of course


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFvunqG9GNF_kQrGDm_Co1OVU4MVQY9-ks5qv_G9gaJpZM4KL7a3
.

@barretodaniel
Copy link
Contributor Author

BTW, we still have that other open issue. Are we okay to start implementing the server route?

@gr2m
Copy link
Member

gr2m commented Oct 2, 2016

yes we are :) Thanks for your help Daniel :)

@gr2m
Copy link
Member

gr2m commented Oct 2, 2016

@barretodaniel
Copy link
Contributor Author

Awwwwww 🎉

@barretodaniel
Copy link
Contributor Author

Honestly, working on this has increased my comfort level with contributing tremendously. It's a nice feeling and I'm excited to continue contributing.

@gr2m
Copy link
Member

gr2m commented Oct 2, 2016

that is really nice to hear, thanks Daniel! It’s really exactly the reason why we invest so much into being the most welcoming community possible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to send "id" in sign up request
2 participants