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

Using this plugin for server side rendering (ssr)? #72

Closed andresclaros closed 4 years ago

andresclaros commented 5 years ago

First at all, thank you for your plugin, it is great and easy to user.

In this moment I want to use in a project that requires server side rendering, and you use Window in OpenIdConnectAuthorizeStep. Is posible to change it for Aurelia's Platform Abstraction Layer Window?

arnederuwe commented 4 years ago

It's definitely possible to do that, but it would be the least of your problems I'm afraid.. See this discussion: https://github.com/IdentityModel/oidc-client-js/issues/809 TLDR: don't try to use a client identity model framework on the server, treat them as 2 different clients instead