Web app authorization acc to role assigned

I’ve gone through the docs and followed the steps mentioned but i’m still not able to solve my issue.

I have attached my repo please could you have a look into it?