cloud icon indicating copy to clipboard operation
cloud copied to clipboard

fix(examples/auth): add missing return; fix undefined; add policy; tests

Open Lancer92 opened this issue 1 year ago • 2 comments

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)

Lancer92 avatar Jul 19 '22 18:07 Lancer92

Hey @Lancer92! Thanks for the improvements! I'll check these out.

benminer avatar Jul 26 '22 15:07 benminer

Hey

Lancer92 avatar Oct 04 '22 10:10 Lancer92

Thanks @Lancer92 for this!

emrahssamdan avatar Oct 26 '22 19:10 emrahssamdan