Giter VIP home page Giter VIP logo

Comments (9)

BerkeleyTrue avatar BerkeleyTrue commented on July 19, 2024

@sajmons There was a breaking change from 1.4.0 to 1.5.0. This module now makes use of Loopback Middleware Phases http://docs.strongloop.com/display/public/LB/Defining+middleware I just finished the process here if you want to see an example.

You will need to adapt your app to use this format in order to continue moving forward with this module.

@raymondfeng A patch is needed to revert the phase introduction and release a 1.6 fix and release a 2.0 that uses phases (since it is a breaking change).

from loopback-component-passport.

raymondfeng avatar raymondfeng commented on July 19, 2024

An example at https://github.com/strongloop/loopback-example-passport

from loopback-component-passport.

raymondfeng avatar raymondfeng commented on July 19, 2024

@BerkeleyTrue Good catch. I'll look into it.

from loopback-component-passport.

sajmons avatar sajmons commented on July 19, 2024

What about Microsoft Active Directory ms-ad example? I see that it's left out from every example.

from loopback-component-passport.

sajmons avatar sajmons commented on July 19, 2024

I have taken new code from server.js 1.5.0 and it worked! Thnx!

from loopback-component-passport.

superkhau avatar superkhau commented on July 19, 2024

@sajmons I assume your issue is resolved. Is this good to close?

from loopback-component-passport.

BerkeleyTrue avatar BerkeleyTrue commented on July 19, 2024

The issue that 1.5.0 introduced breaking changes still exist. It forces users to either introduce loopback middleware phases or stick to 1.4.0

from loopback-component-passport.

superkhau avatar superkhau commented on July 19, 2024

@BerkeleyTrue TY, escalating to bug status.

@raymondfeng Reassigning to you for further instructions.

from loopback-component-passport.

sajmons avatar sajmons commented on July 19, 2024

I have switched to middleware solution but as Berkeley mentioned it is
a breaking
change
.

2015-08-13 0:39 GMT+02:00 Simon Ho [email protected]:

@BerkeleyTrue https://github.com/BerkeleyTrue TY, escalating to bug
status.

@raymondfeng https://github.com/raymondfeng Reassigning to you for
further instructions.


Reply to this email directly or view it on GitHub
#73 (comment)
.

lp,
Simon

from loopback-component-passport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.