Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Add ProviderName field; use in sign_in template #78

Merged
merged 1 commit into from
Mar 31, 2015

Conversation

mbland
Copy link
Contributor

@mbland mbland commented Mar 31, 2015

This is the third step towards genericizing the google_auth_proxy to support OAuth2 providers other than Google as discussed in #65. Injecting the ProviderName into the template seems the most expedient way to reuse the default sign_in.html template.

Also, @jehiah, I was wondering: If you want, I can follow this PR with a PR to rename the service to oauth2_proxy. Otherwise, I'll go ahead and send a PR to add the MyUSA provider (plus README updates on how to add a new provider).

@jehiah
Copy link
Member

jehiah commented Mar 31, 2015

++ let's start with the PR to add MyUSA as a provider. I think i'd like to tackle project & service rename separately and see what other providers make sense to land up front (I know there is an ongoing fork from @balshor to support LinkedIn that I'd love to land using this scheme)

jehiah added a commit that referenced this pull request Mar 31, 2015
Add ProviderName field; use in sign_in template
@jehiah jehiah merged commit 243dbb7 into bitly:master Mar 31, 2015
@balshor
Copy link

balshor commented Mar 31, 2015

I'd love to get LinkedIn support on to this scheme, too! I'll have another hackday in mid-April that I can use to switch over, if nobody else has added LinkedIn support by then. :)

@jehiah
Copy link
Member

jehiah commented Mar 31, 2015

awesome @balshor I look forward to that PR!

@mbland
Copy link
Contributor Author

mbland commented Mar 31, 2015

Cool, I'll proceed with the MyUSA+Docs PR, then. Thanks!

@mbland mbland deleted the generalize-templates branch March 31, 2015 19:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants