We have our own OAuth server and need to get some user information from OAuth (like phone and customer id) and display it on the user info page.
[{"CustomId":"#{CustomId}"}, {"phone":"#{phone}"}]{"phone" :{"type": "text","required": true,"minLength": 0,"maxLength": 12},"CustomId": {"type": "text","required": true,"minLength": 0,"maxLength": 10}}openid email profile groups offline_access phone CustomIdI was expecting to get phone and CustomId from OAuth and record details in user information.
None of the values listed are recorded in user information.
We want only our customers can register and login in Rocket chat so i set 'Accounts > Show Default Login Form' to 'false' and set 'Accounts > Registration >Registration Form' to 'Disabled'
I'm on it
@mohsen2hasani models of accounts?
@mohsen2hasani models of accounts?
what do you mean of account model?
@mohsen2hasani models of accounts?
what do you mean of account model?
i mean to say is there a folder called accounts? and is customfields a model? because i couldn't locate these files
Sir, @mohsen2hasani
Are you sure, that your OAuth code on your end is correctly written?
@mohsen2hasani models of accounts?
what do you mean of account model?
i mean to say is there a folder called accounts? and is customfields a model? because i couldn't locate these files
Go to Accounts > Scroll Below > Registration > AT last you will see a big text container which is Custom Fields
x-special/nautilus-clipboard
copy

@carpecodeum
Sir, @mohsen2hasani
Are you sure, that your OAuth code on your end is correctly written?
Yes, i used this oauth in other projects and get data.
@mohsen2hasani
I will try it tomorrow by creating a dummy OAuth API.
Any traction on this? We have a similar use case.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.