Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth tidy-up and refactor #370

Merged
merged 12 commits into from Aug 31, 2020
Merged

OAuth tidy-up and refactor #370

merged 12 commits into from Aug 31, 2020

Conversation

thebaer
Copy link
Member

@thebaer thebaer commented Aug 19, 2020

This in-progress PR tidies up OAuth-related code from #293 and #317:

  • Fix GitLab & Generic OAuth button labels on Login page
  • Move buttons to shared template and OAuthButtons struct for easier maintenance in the future
  • Update signup-via-invite page to include all login methods and respect new DisablePasswordAuth config
  • Improve OAuth login button design and layout

New branded button design:

Login / signup

Screenshot from 2020-08-19 14-50-38

Account Settings

Screenshot from 2020-08-19 15-11-00


  • I have signed the CLA

Previously, these display names were swapped.
This moves fields into the `OAuthButtons` struct and puts the buttons into templates/includes/oauth.tmpl.
This updates signup.tmpl to include all supported OAuth methods and respect the new `DisablePasswordAuth` config value.
@thebaer thebaer added this to the 0.13 milestone Aug 19, 2020
This includes the platform mark with each login button and uses
brand colors. It also uses the same style on the Account Settings
page. And it wraps buttons on login / signup pages.
@thebaer thebaer marked this pull request as ready for review August 19, 2020 19:17
@thebaer
Copy link
Member Author

thebaer commented Aug 31, 2020

Merging now.

@thebaer thebaer merged commit d8019bb into develop Aug 31, 2020
@thebaer thebaer deleted the oauth-cleanup branch October 13, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant