Closed gilbertlucas46 closed 7 years ago
The problem was is the missing 'sb-app-id' in the header when implementing the signUp method.
signup(formData:auth):Observable<Response>{
return this.http.post(
`${this.config.BASE_URL}/api/v1/auth/signup`,
JSON.stringify(formData),
{headers:new Headers({'Content-Type':'application/json','sb-app-id':this.config.APP_ID,'sb-app-secret':this.config.APP_SECRET})})
}
At 'sb-app-id':this.config.APP_ID
it is literally 'sb-app-id'. It is the name of the http header which is assigned the APP_ID value (that 32 digit key) from the config Object.
thanks @kreck it's working now
Hi I'm currently following instructions in http://blog.selfbits.io/blog/tutorial/angular2/2016/11/24/dashboard-tutorial-part2-email-auth I'm now in the part where I need to test the connection in the register form
I'm not really sure what I did wrong.. you can check the actual page here. http://cheapytrippy.com/dashboard/#/login
Hope to get support from you guys soon :)