4 ms·
> You can then capture the auth code from the redirect just fine. Not when you don't have an 'official' redirect URL.
by randomdata 3y ago
> You can then capture the auth code from the redirect just fine.
Not when you don't have an 'official' redirect URL.
- codetrotter 3y agoIf you control the client, you can. Because when you get the redirect response, you then take the auth code that is included there, and you don’t follow the redirect. Then you send the auth code to your backend instead.
- randomdata 3y agoTypically if you farm the job out to a browser, per the discussion, then you don't have control over the client.
- codetrotter 3y agoI took it to mean that they render the login page in a web view still controlled by their app
- davedx 3y agoRight, so my app is an electron app, and you can hook into the redirect. It’s still a little bit hacking the flow but not as bad as full browser automation