justin-barca-at-camis

Results 12 comments of justin-barca-at-camis

@kherock on 401, I need to ensure session was ended on the backend so I have to call auth.signinRedirect but I don't have access to hooks in the apollo link....

Hmm, thanks @kherock, I will try creating my own UserManager and passing it to the `implementation` prop. However, after looking into this further, I think this library might benefit from...

In researching the issue of not being able to access context values from the Apollo link, I discovered this: https://stackoverflow.com/questions/59232118/how-to-acess-react-context-from-apollo-set-context-http-link . It sound like this library could use an imperative...

@kherock I was able to confirm instantiating another UserManager using the same config as the provider and calling it's `signoutRedirect` seemed to work as expected. I will see if I...

@kherock do you think you could speak more to "some things would fall out of sync"? I'm wondering what the potential issues could be for JUST `signoutRedirect`. I read [here...

I am able to complete post-login actions only by using the following where `authData` is the data persisted in `SET_LOGGED_IN_USER` ``` // no user state but user is authenticated, dispatch...

@kherock here's a stacktrace within userLoaded event: ``` (anonymous) (useAuthOrchestration.tsx:34) raise (Event.ts:36) load (UserManagerEvents.ts:54) _signinEnd (UserManager.ts:415) await in _signinEnd (async) signinRedirectCallback (UserManager.ts:163) signinCallback (UserManager.ts:290) await in signinCallback (async) (anonymous) (AuthProvider.tsx:157)...

It's nice that one can create event handlers through the auth but this is not necessary. I couldn't use the provider prop for the event because need access to the...

@pamapa yes, I agree my example is too specific for the docs. What you said sound good, except I think it should read "Unless you have set up a ...".

To anyone coming up on this issue, a quick tip: make sure to do a browser history replace and not push when you advance from the callback URL, otherwise your...