Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Refactor social auth providers #121

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wsargent
Copy link
Contributor

Purpose

This PR streamlines and seperates the social auth providers and adds more documentation. It adds Github as an auth provider and provides the icon, and sets up common configuration where there is commonality between providers.

* @param oauth2InfoDAO The implementation of the delegable OAuth2 auth info DAO.
* @param openIDInfoDAO The implementation of the delegable OpenID auth info DAO.
* @return The auth info repository instance.
* XXX This should be done the same way as HTTP filters.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the theory here is that you should be able to define these from configuration, and have them loaded in by dependency injection automatically: see https://github.com/playframework/playframework/blob/master/core/play/src/main/scala/play/api/http/HttpFilters.scala#L78 for an implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant