Curious how to apply Ktors OAuth plugin to this (presumably) common OAuth pattern:
I have an App with it's own Client & Server, and I want to use Google OAuth as 3rd party authenticator, to provide the principal User for my server sessions. I am struggling to find examples that fit this arrangement.
I
can find guidance for doing this:
a)
Purely client side (so clients can access Google services with no back-end).
b)
Purely server-side (suitable for authenticating a served web-page).
...but I
can't seem to find a 'three-way' example where Google authenticates on behalf of my Server, rather than directly with the client.