Open ajmas opened 2 years ago
Since we lose the logic around the pop-up, maybe having an option to store state in session storage and then on page load have a continueAuth()
call, which behind the scenes:
Maybe there is another approach?
Agree. We have issues integrating this lib if the app is shown in restricted webview of a mobile app for example
@ajmas how did you resolve that back then?
@tomastan I ended up forking the project, but I'll need to look at my code to remind myself.
@tomastan I just looked through the code and right now there isn't an alternative to the popup. Looks like some code rework is needed to provide that possibility. I'll create a ticket for this.
@tomastan I just looked through the code and right now there isn't an alternative to the popup. Looks like some code rework is needed to provide that possibility. I'll create a ticket for this.
Let me follow your fork then ;) Unfortunately as I understand it is Vue 3 only, while our codebase is not yet migrated. Plus if you said, popupless flow is not there, so likely we need to look for a temporary workaround.
It is Vue 3 only. I made the choice because of our own project requirements and I couldn’t work out how to make it support both.
Based on what I see in
options.js
and playing around with thedisplay
option, it does not current seem to be possible to force a non-pop-up authentication flow. This can be an issue for flows where a pop-up is not suitable.