danschultzer / phoenix_oauth2_provider

Get an OAuth 2 provider running in your phoenix with controllers, views and models in just two minutes
MIT License
84 stars 41 forks source link

Ueberauth Strategy ? #14

Closed niccolox closed 5 years ago

niccolox commented 5 years ago

is there an Ueberauth Strategy specific or generally useful for this provider?

is Ueberauth needed?

danschultzer commented 5 years ago

There’s no generic OAuth2 ueberauth strategy, so no. Ueberauth is only needed if you are going to build another app that requires auth with your oauth2 server.

I’ve also written PowAssent that is an alternative to ueberauth, and that does have a generic oauth2 strategy: https://github.com/danschultzer/pow_assent

The strategy can easily to extracted from there if needed.

niccolox commented 5 years ago

interesting, was unaware of these projects

I am not actually using ueberauth or coherence and so am interested in your approach

need to do some brain surgery on my app to try this out

thanks