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

Support Webpack. #41

Closed shaunluttin closed 6 years ago

shaunluttin commented 6 years ago

Currently, we only support the Aurelia-CLI. We probably will need to list our global resources in package.json to support Webpack.

shaunluttin commented 6 years ago

We worked on this for about three hours today. It is non-trivial.

shaunluttin commented 6 years ago

@jblackburn21 @andreabaldin @gerbendekker

I tried for about three hours today to make aurelia-open-id-connect work with the Aurelia Microsoft.AspNetCore.SpaTemplates. I was unable to make it work.

You seem to have some experience with Webpack and the AspNetCore template. Would you have the time to create a pull request in the demos repository? That would help me a great deal to add support for Webpack.

The demos repository is here: https://github.com/shaunluttin/aurelia-open-id-connect-demos

shaunluttin commented 6 years ago

Hooray! Webpack seems to be working without any changes to the plugin.

Thank you to @gerbendekker for the emo: https://github.com/shaunluttin/aurelia-open-id-connect-demos/tree/master/aurelia-app-identity-server-aspnetcore