WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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
When I run the server on local UI is not getting loaded properly.
Also when I try to login I found the client_id is not being passed inside the param[:next].
Adding Reference from code side:
module OauthApplicationConfig
extend ActiveSupport::Concern
included do
before_action :set_oauth_application, only: :new
end
def set_oauth_application
return if params[:next].blank?
begin
next_url = URI.parse(params[:next])
rescue URI::InvalidURIError
return redirect_to login_path
end
if next_url.query.present?
application_uid = CGI.parse(next_url.query)["client_id"][0]
@application = OauthApplication.alive.find_by(uid: application_uid)
end
end
end
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I run the server on local UI is not getting loaded properly.
Also when I try to login I found the client_id is not being passed inside the param[:next].
Adding Reference from code side:
Beta Was this translation helpful? Give feedback.
All reactions