angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Support for multiple html pages

Open lordmat0 opened this issue 9 years ago • 6 comments

Is there any planned support to have multiple pages as in multiple .html files? I took a look at the config file but it seems you specify an index page only.

Or is the suggestion that you should have one index page, set your filtering up that all HTTP requests go to that and you use the router?

lordmat0 avatar Dec 16 '16 18:12 lordmat0

It wouldn't be a single-page application if it needed more than one main page. You should read this answer from Stack Overflow. Also I suggest you go through the quick start for Angular 2.

baruchvlz avatar Dec 16 '16 18:12 baruchvlz

No planned support at the moment, no.

filipesilva avatar Dec 30 '16 14:12 filipesilva

I'm using identity server and the oidc client to do spa authentication. For these types of authentication we need callback urls that do little else except parse user tokens and then redirect to an application page.

Particularly I use silent callback pages to allow token refresh in iframes. Ideally I need a separate html file for that to work efficiently and effectively. I can use an angular route, but this means the iframe has to load an entire angular application for a single redirect which is overkill.

Any chance the decision not to support multiple html files could be revisited?

lvanderbijl avatar Mar 20 '17 18:03 lvanderbijl

Hi Ivan Sorry I don't have answer to your question but I'm very interested to have a code example using oidc

aminebizid avatar Mar 20 '17 18:03 aminebizid

Hi Zigzag,

I primarily used oidc-client.js based samples but converted the callback pages from standalone pages to angular routes. It all works relatively straight forwardly.

lvanderbijl avatar Mar 25 '17 19:03 lvanderbijl

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.