Benoît Hubert

Results 43 comments of Benoît Hubert

Hello Andrea! Just to let you know: the `isCrossOrigin` flag is a rather recent addition. It was added by a contributor who had a different setup and workflow than mine....

Sorry for the delayed response. When you say "I don't have any control on the server", you mean the server backing your React app, not the OAuth2 server? That said,...

Ok. Sure, unless it's your own OAuth2 server & infrastructure, you can't control how it behaves regarding CORS. The thing is, you're supposed to have your own backend app if...

I could elaborate a little more but I'm unsure as to whether you have a backend app of your own??

Is your project open source? If so, I could have a look. Otherwise I have a few possible hints: * is CORS configured on *your* backend app? If not, it's...

Hi @AndreaMaestri18 Have you progressed on the issue? Let me know if you need help!

Hi @Djalalov Thanks! I guess you had a question in mind?

OK I kind of see, I need to see some digging: the `isCrossOrigin` stuff had been added by a contributor which had this specific use case. I had started a...

**[EDIT] SOLVED! See comment below!** Might I ask you some clarification please? When you "authorize" your OAuth app in the popup window, are you **directly** redirected to with the access...

OK I made it work. I'll show you an excerpt adapted from the example in `example/server` (it's Node.js code but I'll comment it). It's a bit specific to GitHub but...