Feat(medusa, user, core-flows): User creation with invites (#6413)

**What**
- add accept invite endpoint 

**Invite accept flow**
- authenticate using the auth endpoint to create and auth-user
- invoke accept endpoint with token and info to create user
This commit is contained in:
Philip Korsholm
2024-02-19 05:29:15 +00:00
committed by GitHub
parent 5977a38ef4
commit f6d38163bb
28 changed files with 399 additions and 40 deletions
@@ -46,7 +46,7 @@ export abstract class AbstractAuthModuleProvider {
const cloned = new (this.constructor as any)(this.container_)
cloned.scope_ = scope
cloned.scopeConfg_ = this.scopes_[scope]
cloned.scopeConfig_ = this.scopes_[scope]
return cloned
}