Skip to content

SignUpWithEmail vs CreateUser Metadata #15

@fplaras

Description

@fplaras

Hello, comparing the CreateUser and SignUp methods for metadata the implementation seems to be different.
CreateUser method signature expects an object to be bound to a "data" property and the SignUp method signature is expecting a Dictionary of <string, object> to be bound to the "data" property. Wasn't sure if this was a bug.

param: Dictionary<string, object> metadata
Dictionary<string, object> data = new Dictionary<string, object> { { "email", email }, { "password", password }, { "data", metadata } };

param: object userData
Dictionary<string, object> dictionary = new Dictionary<string, object> { { "email", email }, { "password", password } }; if (userData != null) { dictionary.Add("data", userData); }

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions