Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Azure AD throwing error on redirect to portal login #45

Open
sithara opened this issue Jan 23, 2020 · 0 comments
Open

Azure AD throwing error on redirect to portal login #45

sithara opened this issue Jan 23, 2020 · 0 comments

Comments

@sithara
Copy link

sithara commented Jan 23, 2020

Azure AD on redirecting to http://localhost:3000/auth/azureactivedirectory is giving me a BAD URI error 'bad URI(is not URI?): "127.0.0.1:8888"

/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/uri/rfc3986_parser.rb:67:in `split'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/uri/rfc3986_parser.rb:73:in `parse'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/uri/common.rb:234:in `parse'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/uri/generic.rb:1543:in `find_proxy'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:1109:in `proxy_uri'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:1096:in `proxy?'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:936:in `connect'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:930:in `do_start'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:919:in `start'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:605:in `start'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:481:in `get_response'
/home/sithara/.rbenv/versions/2.6.0-dev/lib/ruby/2.7.0/net/http.rb:458:in `get'
vendor/bundle/ruby/2.7.0/gems/omniauth-azure-activedirectory-1.0.0/lib/omniauth/strategies/azure_activedirectory.rb:169:in `fetch_openid_config'
vendor/bundle/ruby/2.7.0/gems/omniauth-azure-activedirectory-1.0.0/lib/omniauth/strategies/azure_activedirectory.rb:190:in `openid_config'
vendor/bundle/ruby/2.7.0/gems/omniauth-azure-activedirectory-1.0.0/lib/omniauth/strategies/azure_activedirectory.rb:105:in `authorize_endpoint_url'
vendor/bundle/ruby/2.7.0/gems/omniauth-azure-activedirectory-1.0.0/lib/omniauth/strategies/azure_activedirectory.rb:79:in `request_phase'
vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:226:in `request_call'
vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:188:in `call!'
vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb:169:in `call'
vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.0/lib/omniauth/builder.rb:64:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:in `context'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/cookies.rb:670:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
vendor/bundle/ruby/2.7.0/gems/clearance-1.16.1/lib/clearance/rack_session.rb:23:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/etag.rb:25:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:25:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:559:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:98:in `run_callbacks'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
vendor/bundle/ruby/2.7.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:38:in `call_app'
vendor/bundle/ruby/2.7.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `block in call'
vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `block in tagged'
vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:28:in `tagged'
vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `tagged'
vendor/bundle/ruby/2.7.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/request_id.rb:27:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/runtime.rb:22:in `call'
vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in `call'
vendor/bundle/ruby/2.7.0/gems/rack-cors-0.4.1/lib/rack/cors.rb:81:in `call'
vendor/bundle/ruby/2.7.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in `call'
vendor/bundle/ruby/2.7.0/gems/puma-3.7.0/lib/puma/configuration.rb:226:in `call'
vendor/bundle/ruby/2.7.0/gems/puma-3.7.0/lib/puma/server.rb:578:in `handle_request'
vendor/bundle/ruby/2.7.0/gems/puma-3.7.0/lib/puma/server.rb:415:in `process_client'
vendor/bundle/ruby/2.7.0/gems/puma-3.7.0/lib/puma/server.rb:275:in `block in run'
vendor/bundle/ruby/2.7.0/gems/puma-3.7.0/lib/puma/thread_pool.rb:120:in `block in spawn_thread'

I'm running on an ubuntu machine. I'm not sure from where the 8888 port is generated

@sithara sithara changed the title Azure AD throwing error Azure AD throwing error on redirect to portal login Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant