This shows you the differences between two versions of the page.
moby:backend:05 [2020/07/31 15:56] alexandru.hogea [Resurse] |
moby:backend:05 [2020/07/31 15:56] (current) alexandru.hogea [Exercitii] |
||
---|---|---|---|
Line 138: | Line 138: | ||
) | ) | ||
</code> | </code> | ||
+ | |||
+ | <note tip>De astazi, serviciul de auth va intoarce, in momentul interogarii de catre alte servicii, si **email**, pe langa userId si role</note> | ||
+ | |||
+ | * in middlewareul de autorizare, sa salvati in **req.state** si **email** |