w3tecch / express-typescript-boilerplate

A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
MIT License
3.29k stars 904 forks source link

When I can test swagger ? Were is token ? #64

Closed Paul75 closed 6 years ago

Paul75 commented 6 years ago

Hello,

When I can test swagger ? all are "Error: Unauthorized" ...

Where can I found the token to test ?

The : #

AUTHORIZATION

# AUTH_ROUTE="http://localhost:3333/tokeninfo"

in configuration not works (404).

Thanks

dweber019 commented 6 years ago

@Paul75 the AUTH_ROUTE="http://localhost:3333/tokeninfo" is used for authentication checking. This url is provided by a 3td party and not included in this repository.

By 3td party I mean:

We do not implement the authentication by our selfs but you can reference this issue about implementation details: https://github.com/w3tecch/express-typescript-boilerplate/issues/52