node.js - Setting up oauth2 with loopback -
so i'm willing set oauth2 loopback-based api. i've read lots , lots of documentation on how works. now, when try apply on api, true piece of documentation found this. i'll clear, don't it. understand have call oauth2.oauth2provider()
specified parameters, before starting server, that's all. how supply url used authorization token (seems in options, did try that, still had nice "unauthorized" - 401 response) ? when should call oauth2.authenticate()
? how token formed ? decide expiration time ? why should supply login page if can ask token 'password' grant ? also, tried set , run this unfortunately, it's telling me don't have valid strongloop api gateway lincense.
Comments
Post a Comment