Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Mode to have page display in own window #6

Open
henrjk opened this issue Jul 16, 2015 · 0 comments
Open

Mode to have page display in own window #6

henrjk opened this issue Jul 16, 2015 · 0 comments

Comments

@henrjk
Copy link
Contributor

henrjk commented Jul 16, 2015

The openid specs has an optional display request parameter with values page, popup, touch and wap.

It appears that independent(!?) from this there is also a choice on how to integrate this into the browser client app. Currently this library supports this by the configuration property display which has values popup or page (default). This is described in Readme.md

Note that page is implemented as a full page navigation (`window.location = ) which means that the app will be reloaded. This can be problematic for Single Page Apps.

A client should be able to display a full login page in a tab or window without having to do a reload.
This would behave similar to a popup on mobile devices. Mobile Safari does not support popups and opens a new tab instead.

One way to this would be to have the display configuration be popup, open_window ,same_windowwheresame_windowwould be the currentpage` setting.

Would this make sense?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant