cloud
cloud copied to clipboard
fix(examples/auth): add missing return; fix undefined; add policy; tests
Fixed example that was errors such as "headers already sent", "user is not defined", "invalid secret key" Added policy example (isAuthenticated) Added role policy example (isAdmin) Cover main routes by tests (except admin ones)
Hey @Lancer92! Thanks for the improvements! I'll check these out.
Hey
Thanks @Lancer92 for this!