Signups Forbidden 403 error - when i sign up

Hi all,

Im refactoring an old project for Meteor Blaze, using new Ostrio Flow Router, insecure and autopublish already removed. Have amended some of the errors from conflict arising from outdated packages.

I see this error above when trying to sign up as a new user. It related to the

Accounts.createUser

within the js file inside register template (I have it on ‘import/startup/ui’ folder.)

I tried removing packages one by one but I am unable to isolate the problem. All apps are somewhat critical. Could it be a missing ‘import’ statement?

I went through all relevant posts such as here and SO here but solutions are not applicable here. Some replies on SO suggested to delete or tweak the .meteor files themselves (not sure consequences).

Hope someone is able to shed some light on this. Thank you!

Heres a summary of points gathered:

  • Theres no accounts.ui, accounts-base, accounts-flowrouter.

  • I dont have useraccounts: boostrap, materialize or semantic installed.

  • wrap user creation line within Meteor methods in server. Apart from security issues, seems extreme given it just worked in the old version of Meteor?

  • If I edit on client (See below) … the false reverts back to false. Deleting it entirely does not help either.

AccountsTemplates.configure({ 
    forbidClientAccountCreation: true,
});

And this is the error I got:

The packages in Meteor app:

meteor-base@1.4.0
mobile-experience@1.1.0
mongo@1.10.1
blaze-html-templates
jquery
reactive-var@1.0.11
tracker@1.2.0

standard-minifier-css@1.7.1
standard-minifier-js@2.6.0
es5-shim@4.8.0
ecmascript@0.14.4
typescript@4.1.2
shell-server@0.5.0

useraccounts:core
accounts-password # includes accounts-base
ostrio:flow-router-extra #FlowRouter + addons like pathFor
kadira:blaze-layout # Layout manager for blaze
less # Leaner CSS language

meteortesting:mocha
johanbrook:publication-collector
aldeed:collection2
jparker:gravatar