zonkyio / ember-web-app

This Ember addon helps you configure and manage the Web App Manifest to create Progressive Web App

Home Page:https://zonkyio.github.io/ember-web-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add crossorigin="use-credentials"

tschoartschi opened this issue ยท comments

We have our web app behind a http basic auth, therefore we need to add crossorigin="use-credentials" to the <link rel="manifest" href="/manifest.json"> Tag.

For more details about manifest and http basic auth you can visit the link: https://thatemil.com/blog/2018/02/21/pwa-basic-auth/

Hi ๐Ÿ‘‹,

thanks for opening the issue, AFAIK it's not currently possible, but adding the crossorigin parameter into add-on should work fine.

@bobisjan thanks for the feedback ๐Ÿ˜ƒ do you have any idea when this could be included?

@tschoartschi, will take a look during this weekend ๐Ÿ™‚.

@bobisjan thanks for the quick fix ๐Ÿ˜ƒ I'll have a look on it beginning of next week and I'll give you feedback

@tschoartschi, it's in master, you can test and report back if something went wrong โ˜บ๏ธ.