|
|
|
|
|
by agustif
2012 days ago
|
|
Hey this seems like a in interesting problem to solve at the library-level. I'm a small contributor to an nice and modular Accounts/User library built in typescript. It's compatible with several databases, and can be used both with REST and GraphQL transports. It does have indeed an @auth directive you can use, you can also extend new directives which for example are related to a custom ROLE === ADMIN check, etc, but you need to build this yourself. If you're interested https://www.accountsjs.com/ |
|