Having a Component is great for handling the UI of initializing the OAuth request. But there's no clear example here on what to do with the response.
Should there be a onAuthStateChange listener in a AuthProvider that wraps around our App? I can't get my AuthProvider to successfully listen for that change in this case.
How else would we listen for a callback using these UI components?
Having a Component is great for handling the UI of initializing the OAuth request. But there's no clear example here on what to do with the response.
Should there be a
onAuthStateChange
listener in a AuthProvider that wraps around our App? I can't get my AuthProvider to successfully listen for that change in this case.How else would we listen for a callback using these UI components?