Hacker News new | ask | show | jobs
by syjer 2044 days ago
The trick is setting the right redirect_uri [0].

Generally it's implemented with a custom URI scheme (that the target application is registered for) or a loopback ip address.

[0] https://developers.google.com/identity/protocols/oauth2/nati...

1 comments

Thanks! Was about to implement OAuth (against Azure AD) at work and we didn't want to embed a browser, so this was really helpful.