You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current registration api creates only the User object, but provider endpoints require user.provider object to be filled in. In this challenge, you should do the following:
Modify the api to require provider data when role is 'provider' and to create the Provider object for the new user. This needs to be done for form registration only, social login should always register 'consumer' role. Update the swagger.yaml file too
Update the registration page in dsp-app (frontend) - add a choice for registering as consumer or provider. In case provider is selected, allow the user to enter the fields for the Provider data model. You can add only the required fields for now.
Verify that provider endpoints can be called with a new provider user (for example POST /provider/drones). Postman api calls can be used for verification.
The text was updated successfully, but these errors were encountered:
The current registration api creates only the User object, but provider endpoints require user.provider object to be filled in. In this challenge, you should do the following:
Verify that provider endpoints can be called with a new provider user (for example POST /provider/drones). Postman api calls can be used for verification.
The text was updated successfully, but these errors were encountered: