4 ms·
Yeah I've just implemented it myself. Google, Microsoft and some other OIDC provider. I abstracted it away behind a "token provider" interface, so I can just i
by magicalhippo 4y ago
Yeah I've just implemented it myself. Google, Microsoft and some other OIDC provider.
I abstracted it away behind a "token provider" interface, so I can just instantiate the right one for the job.
There's some incantations to get the request right, but I found most documentation decent so just follow that.
One service required I implemented RFC 8693 token exchange, which turned out to be trivial since I could represent it as one "token provider" instance wrapping another.
Failures can still be opaque though, especially when using the tokens.