You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using "overrides" I am successfully customizing the data passed back to the front-end overriding methods such as render_validate_token_success and render_create_success, as described in the docs. That said, I have not been able to find any information on doing the same in OmniauthCallbacksController.
I do not need a simple .to_json representation of User model, and need to add additional data... how can I achieve this?
The text was updated successfully, but these errors were encountered:
Have you tried just overriding the methods in the omniauthcallbackscontroller, and calling code before or after super to achieve what you're trying to do?
Using "overrides" I am successfully customizing the data passed back to the front-end overriding methods such as
render_validate_token_success
andrender_create_success
, as described in the docs. That said, I have not been able to find any information on doing the same in OmniauthCallbacksController.I do not need a simple
.to_json
representation of User model, and need to add additional data... how can I achieve this?The text was updated successfully, but these errors were encountered: