stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 106 forks source link

Refactor authentication to use Okta authorization server #608

Closed robertjd closed 7 years ago

robertjd commented 7 years ago

Authentication now happens against an Okta Authentication Server

Token validation is done with the Okta access token, and the application users API.

Logout uses revoke on the Authorization Server.

Begin writing the changelog for this next major version.

Tests will be failing in this PR, as I have not yet addressed the functional differences, or the change to ES6 classes.

This branch still requires you to provide Stormpath configuration somewhere, as I haven't yet removed those dependencies.

Todos:

mraible commented 7 years ago

What do I need to change in this file to make this work with Okta?

https://github.com/stormpath/stormpath-angular2-express-example/blob/master/server/server.js

Related: how do I setup my Okta instance to work with this?

robertjd commented 7 years ago

Thanks @mraible , great questions. Take a look at the mods to the changelog? If it's not clear let me know and I'll get more detailed. As we go through this migration I want to use the changelog to collect all the notes.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-53.6%) to 13.643% when pulling 3e8953c509441f912f6db519c9a72f69cf38e3ac on okta-authentication into ecd114be568f87918ac295cd8b84080f8b10bfe6 on 4.0.0.