Skip to content

Conversation

@amatsuda
Copy link
Collaborator

OmniAuth is an independent auth engine itself, and doesn't really need to depend on Devise.

- < ApplicationController instead of < Devise::OmniauthCallbacksController
- Added callback method that dispatches to provider-specific logic
- authenticated? instead of current_user check
- Current.user instead of current_user
- start_new_session_for(@user) instead of sign_in @user
- after_authentication_url instead of after_sign_in_path_for
- new_session_path instead of new_user_session_url
@amatsuda amatsuda merged commit f6f8407 into rubycentral:main Dec 27, 2025
1 check passed
@amatsuda amatsuda deleted the pure_omniauth branch December 27, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant