i-VRESSE / bartender

Middleware web service to schedule jobs on various infrastructures
https://i-vresse-bartender.readthedocs.io
Apache License 2.0
1 stars 0 forks source link

Social login redirect #52

Closed sverhoeven closed 1 year ago

sverhoeven commented 1 year ago

On https://github.com/i-VRESSE/bartended-haddock3 we want to have social logins. To get the access token we need the social platform to redirect to the bartended-haddock3 web app which can then call the bartender routes. See https://github.com/i-VRESSE/bartended-haddock3/blob/main/app/routes/auth/%24provider/callback.ts#L13

Also replaces complicated enum with literal.

Peter9192 commented 1 year ago

Want a review on this one @sverhoeven ?

sverhoeven commented 1 year ago

Thanks for reviewing. I agree, this OAuth2 stuff is not easy.