sourcefuse / loopback4-starter

Loopback 4 starter application. Multi-tenant architecture supported. Authentication, Authorization, Soft deletes, environment vars, Audit logs, included.
MIT License
158 stars 59 forks source link

Initial authorization #4

Closed vikramkh closed 5 years ago

vikramkh commented 5 years ago

Not a bug, but just wondering why everything requires bearer authentication? How do you get the initial token then?

samarpan-b commented 5 years ago

Hello @vikramkh ,

Have a look at the login APIs defined here - https://github.com/sourcefuse/loopback4-starter/blob/master/src/modules/auth/login.controller.ts

They do not require bearer token. They use different strategy. Check it out.

vikramkh commented 5 years ago

Thanks so much!