You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the first iteration just enabling the API to accept an incoming authentication token, and verify it ... even if we just have a hardcode token value... that would be fine.
Then we can hook up the token management to whatever we want - the database, an OAuth service like Facebook or GitHub, etc.
The text was updated successfully, but these errors were encountered:
Our API will need an authentication capability.
This is defined partly with Swagger, and partly in the Node/Restify code.
In the index.js file there is a section now for the auth handlers.
More information about defining the security handler can be found here:
https://github.com/swagger-api/swagger-node/blob/master/docs/release-notes.md
and here
swagger-api/swagger-node#228
For the first iteration just enabling the API to accept an incoming authentication token, and verify it ... even if we just have a hardcode token value... that would be fine.
Then we can hook up the token management to whatever we want - the database, an OAuth service like Facebook or GitHub, etc.
The text was updated successfully, but these errors were encountered: