amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Amp access authentication request not fired when in PWA with shadowdom

Open bjalford opened this issue 9 years ago • 11 comments

When loading in an AMP doc which has amp-access in it into a PWA using shadowdom, the auth request isn't being fired and so the form doesn't render.

bjalford avatar Feb 24 '17 11:02 bjalford

/to @dvoytenko

rudygalfi avatar Feb 24 '17 18:02 rudygalfi

Correct. We haven't yet enabled AMP Access in PWA. We'd like to get more information on the right embedding rules in this case. Typically, a PWA would have it's own access mechanisms and we'd like to make sure that we are not interfering with them.

@bjalford Could you describe your use case?

dvoytenko avatar Feb 27 '17 20:02 dvoytenko

@dvoytenko It's mainly for the comments which we use Gigya for. The idea was to build the auth using amp-access and then users would be logged in whether visiting AMP or PWAMP. For browsers that support service workers they will go from AMP to PWAMP, but other browsers are always get AMP for the first page of a session and then get PWA after first click.

bjalford avatar Feb 28 '17 10:02 bjalford

Does Gigya has its own identity system/login? Do you share it with them? Could you provide a bit more detail on this? Does it work more like Facebook comments?

dvoytenko avatar Mar 02 '17 19:03 dvoytenko

Yes it does. And an API. We've implemented it and it works well in AMP but not through the shadowdom as yet.

bjalford avatar Mar 09 '17 16:03 bjalford

I've scheduled it for Design Review tomorrow (#7903).

dvoytenko avatar Mar 14 '17 16:03 dvoytenko

@bjalford Please join if you can.

dvoytenko avatar Mar 14 '17 16:03 dvoytenko

Cool. Good to start. @rudygalfi @ericlindley-g Please clarify the priority and schedule for sprints.

dvoytenko avatar Mar 15 '17 20:03 dvoytenko

Sorry managed to mess up my timings last week (facepalm) Can't make today either. Keen to discuss though. How can we move forward?

bjalford avatar Mar 22 '17 10:03 bjalford

Yes. We are moving forward with this.

dvoytenko avatar Mar 22 '17 19:03 dvoytenko

Just heads up. It looks like the fix is in PROD now. PTAL.

dvoytenko avatar Apr 20 '17 21:04 dvoytenko