James Hancock

Results 50 comments of James Hancock

Here's some code for contribution that allows the use of appAuth.js for Dart: [appAuthJavascript Interop](https://github.com/jhancock4d/appauthjsrawjavascript) What it does is export the entire appAuth.js library to appAuth.xxx so that it can...

@MaikuB Sorry, got markdowned. Updated now with the link.

What I'm thinking is that the only way to make this work with the current structure is that appAuth.js will have to do a popup. Without the popup there's no...

@MaikuB The listener is supposed to be setup when the app starts, and then intercepts the first request and then notifies. From what I'm reading in the current interface plugin,...

@Jeremywhiteley I investigated the msal.js stuff but it's very strongly tied to Microsoft. I'm trying to find a path that uses appAuth.js but even then they seem to be focused...

@MaikuB It's more that if I don't use a popup window to do the authentication, that the flutter app is torn down entirely, and your current plugin won't even know...

So I've implemented this with a popup window (works in all browsers without warning) so that it fits with the current process. It requires an HTML file that I don't...

Also note that it would be nice if there was a nullable checkSessionIFrameEndpoint on the AuthorizationServiceConfiguration so that that could be passed in/persisted.

Ok, well if someone wants to point me to how this would be called once done, I'm happy to make it work that way but ultimately the end user has...

It's a matter that with web, the app has to check auth state information in the URL when it's redirected back. So there has to be an initialize function that...