aurelia-contrib / aurelia-open-id-connect

An aurelia adapter for the IdentityModel/oidc-client-js
https://zamboni-app.azurewebsites.net
MIT License
54 stars 18 forks source link

A paragraph or two to describe the added values of this adapter over using it directly? #6

Closed jack4it closed 7 years ago

jack4it commented 7 years ago
  1. What are the added values of this add-in?
  2. Can we not use that oidc library directly on top of Aurelia?
shaunluttin commented 7 years ago

@jack4it

What are the added values of this add-in?

I'm not sure myself.. I have found it handy for reuse of the common logic and a way to separate concerns. It's really an adapter of the oidc-client-js.

Can we not use that oidc library directly on top of Aurelia?

My sense is that yes we can.

shaunluttin commented 7 years ago

@jack4it I've given this some more thought. I think the main value added is the handling of routing. The plugin fundamentally adapts the oidc-client-js to the Aurelia router.