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
I have a scenario where I need to redirect to a different url for creating users, as I don't want it to happen automatically in the same controller action as a user signing in. I have tried attaching a redirect_uri to my oauth request to Github but it gets lost in the sorcery code.
I have followed the flow of the code and it appears that authorize_url doesn't have any way to support this currently. Is there a recommended way to use separate controller actions for signing in and registering?
By the way, I changed my oauth controller action to:
I have a scenario where I need to redirect to a different url for creating users, as I don't want it to happen automatically in the same controller action as a user signing in. I have tried attaching a
redirect_uri
to my oauth request to Github but it gets lost in the sorcery code.First request url (correct, includes
/create
):Next request in network tab (
/create
is gone):I have followed the flow of the code and it appears that
authorize_url
doesn't have any way to support this currently. Is there a recommended way to use separate controller actions for signing in and registering?By the way, I changed my
oauth
controller action to:The text was updated successfully, but these errors were encountered: