Skip to content

Instantly share code, notes, and snippets.

@ChasManRors
Created April 26, 2018 17:33
Show Gist options
  • Save ChasManRors/a16d065924bbacc6f17c624f36f246c9 to your computer and use it in GitHub Desktop.
Save ChasManRors/a16d065924bbacc6f17c624f36f246c9 to your computer and use it in GitHub Desktop.
MESSAGE
undefined method `+' for nil:NilClass
STACK TRACE
warden::saml::Gatekeeper#login_url
lib/warden/saml/gatekeeper.rb, line 19
Warden::OnedoorSaml.sso_login_url
config/initializers/warden/onedoor_saml.rb, line 5
AccountController#login
app/controllers/account_controller.rb, line 168
AccountController#track_permissons
app/controllers/application_controller.rb, line 567
AccountController#handle_errors
lib/error_handler.rb, line 2
OR
Secure Connection Failed
An error occurred during a connection to localhost:3000. SSL received a record that exceeded the maximum permissible length.
I TRIED SEVERAL URLS
http://localhost:3000/login?od
https://localhost:3000?od
http://localhost:3000?od
https://onedoor.com/
http://localhost:3000/onedoor?od
http://localhost:3000/onedoor
http://localhost:3000/view/login?od
http://localhost:3000/
http://localhost:3000/login
https://ew43.ultipro.com/default.aspx
https://gateway.ultiproworkplace.com/Ws-Fed/ProvisionUser.aspx
https://onedoor.okta.com/app/ultipro/exk2klhl18PG6yKWH1t7/sso/saml
https://onedoor.okta.com/app/UserHome
https://onedoor.okta.com/signin/verify/google/token%3Asoftware%3Atotp
https://onedoor.okta.com/
https://onedoor.okta.com/admin/locations?od
CONFIGURATION
$ ls -alFtr config/initializers/warden/onedoor_saml.rb
=>
-rw-r--r-- 1 cmagid 101845262 1392 Mar 30 13:51 config/initializers/warden/onedoor_saml.rb
$ egrep '(ONEDOOR_SAML_SINGLE_LOGOUT_SERVICE_URL|ONEDOOR_SAML_ASSERTION_CONSUMER_SERVICE_URL|SERVER_URL)' config/initializers/warden/onedoor_saml.rb
=>
assertion_consumer_service_url: LayerCake.get("ONEDOOR_SAML_ASSERTION_CONSUMER_SERVICE_URL"),
single_logout_service_url: LayerCake.get("ONEDOOR_SAML_SINGLE_LOGOUT_SERVICE_URL"),
$ egrep '(ONEDOOR_SAML_SINGLE_LOGOUT_SERVICE_URL|ONEDOOR_SAML_ASSERTION_CONSUMER_SERVICE_URL|SERVER_URL)' .env
=>
export ONEDOOR_SAML_SINGLE_LOGOUT_SERVICE_URL="http://localhost:3000/logout"
export ONEDOOR_SAML_ASSERTION_CONSUMER_SERVICE_URL="http://localhost:3000/login"
export SERVER_URL="http://localhost:3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment