K
Kinde4mo ago
Teslon

I want to save data like username, preferred locale, theme for a user in my React App

I don't understand how I can set properties or flags from my react app?
15 Replies
Oli - Kinde
Oli - Kinde4mo ago
Hey @Teslon, do you want a user to sign-up and login with their username, or just store this additional username information against a user record? Hey @Teslon, Did this response help you solve your question?: https://discord.com/channels/1070212618549219328/1212486887735037973/1212646779267448915
Teslon
Teslon4mo ago
a username preferrably at signup and additional data later.
Oli - Kinde
Oli - Kinde4mo ago
@Teslon, we are currently working on a username authentication feature that will allow you to sign-up and sign-in with username password. You can be notified when this feature is live by subscribing here. I have a few more questions on the experience you would like to show your users around username authentication (if you don't mind answering): 1. On sign-up, do you want users to just enter username and password? 2. Do you want to enforce users to enter any other information on sign-up (e.g. email or phone)? 3. Would you generate a username on behalf of your users or would you want users to enter a username themselves? Your answers will help us shape our username authentication, so any other information is super helpful.
Teslon
Teslon4mo ago
Oh great. If a user signs up I want the user to enter a username alongside / or in place of First and Lastname. Currently i save it via a backend in a custom token property
Oli - Kinde
Oli - Kinde3mo ago
Hey @Teslon, Do you want users to login with username+password, or another authentication method (e.g. email + password)?
Teslon
Teslon3mo ago
email/username + password
Oli - Kinde
Oli - Kinde3mo ago
Hey @Teslon, Would you want all users to setup a username and provide an email? Or just 1 option? If they enter both username and email, would you want the user to be able to decide which option to sign-in with? Also if email authentication is offered, would you want to offer email+password, or email + passwordless (email OTP code) options?
Teslon
Teslon3mo ago
I need the username througout the app. Everywhere at signup where i can enter an email adress I should also be able to use my username. (Which is set at sign up, even when using SSO)
Oli - Kinde
Oli - Kinde3mo ago
Hey @Teslon, Thanks for getting back to me. I still have a couple questions: 1. So you want to enforce all users to enter email and username on sign-up 2. If not, is it possible for a user to have a username, but no email against their profile? 2. Do you want to offer both email or username+password as login options (as well as SSO options)?
Teslon
Teslon3mo ago
1. Yes 3. No, I just want everybody, no matter what type of sign-in was used, to have to set a username
Oli - Kinde
Oli - Kinde3mo ago
Hey @Teslon, Thanks for getting back to me. I still have a few more questions, if you don't mind answering: 1. You mention email as a sign-in option, would you want to offer email + password or email + email + OTP code (passwordless) 2. If email + password, would you want the password to be the same as the password for username + password sign-in method 3. Does the user create a username (or are the usernames created for them)? 4. Does the username have to be in any specific format? 5. If a user were to reset the password associated with their username, how would you expect this flow to look like?
Teslon
Teslon3mo ago
1. both 2. yes 3. the user creates one himself (and is able to change it at a later point) 4. no 5. the user would get an email with a link to reset his password Thank you for your time. It is very much appreciated. And please excuse my delay through the different Timezone
Oli - Kinde
Oli - Kinde3mo ago
Hey @Teslon, No need to apologies for the time difference, it works out better since I get your replies when I start my day. This is all great information, I just have a few finals questions: 1. When I asked above whether "you want to offer email + password or email + email + OTP code (passwordless)", you said both. So just confirming do you want to offer your users 3 different sign-in options: a. Username + password b. Email + password c. Email + OTP code (passwordless) 2. When a user signs-up, does the order at which they enter detials in the sign-up flow matter? i.e. do you want users to enter an email first and then username?
Teslon
Teslon3mo ago
1. Yes I want to give the User all possibilities so he can choose whats best for him. And also not forgetting the most important Flow: Social Account (Google, etc.) 2. Not important. The main concern is that every user has to set a username that is unique
Oli - Kinde
Oli - Kinde3mo ago
Sorry I forgot to reply to this. Thanks again for getting back to me @Teslon. All these insights are super helpful.
Want results from more Discord servers?
Add your server
More Posts