Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PF-154 :: Version : 1 :: Open-ID #8537

Open
stegar123 opened this issue Feb 5, 2025 · 0 comments
Open

PF-154 :: Version : 1 :: Open-ID #8537

stegar123 opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@stegar123
Copy link
Contributor

Open-id source external authentification error

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Configuration use next documentation

https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_openid_connect

  1. linkedin credentials psono -≥ TestLink -≥ Yahoo (OpenID)

Error: You do not have permission to register a device with this username

Feb 5 15:45:38 localhost pfqueue-backend[7595]: pfqueue(4644) INFO: [mac:unknown] Running task api (main::process_data) Feb 5 15:45:38 localhost pfqueue-backend[7595]: pfqueue(4644) INFO: [mac:unknown] Calling api task fingerbank_process (pf::task::api::doTask) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Allowing user through portal even though he is registered as the release bypass is set and the connection profile is configured to let registered users use the registration module of the portal. (captiveportal::PacketFence::DynamicRouting::Module::Root::execute_child) Feb 5 15:45:38 localhost pfqueue-backend[7595]: pfqueue(4644) WARN: [mac:unknown] Cannot find any combination ID in any schemas (fingerbank::Source::LocalDB::_getCombinationID) Feb 5 15:45:38 localhost pfqueue-backend[7595]: pfqueue(4644) INFO: [mac:unknown] Upstream is configured and unable to fullfil an exact match locally. Will ignore result from local database (fingerbank::Source::LocalDB::match) Feb 5 15:45:38 localhost pfqueue-backend[7595]: pfqueue(4644) INFO: [mac:unknown] Successfully interrogate upstream Fingerbank project for matching. Got device : 3163 (fingerbank::Source::Collector::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] User [email protected] has authenticated on the portal. (captiveportal::PacketFence::DynamicRouting::Module::_username_set) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] OAuth2 successfull for username [email protected] (captiveportal::PacketFence::DynamicRouting::Module::Authentication::OAuth::handle_callback) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Use of uninitialized value in anonymous hash ({}) at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Odd number of elements in anonymous hash at /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm line 275. Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) INFO: [mac:c8:05:a4:31:13:4e] Using sources yahoo2 for matching (pf::authentication::match) Feb 5 15:45:38 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(14) WARN: [mac:c8:05:a4:31:13:4e] Execute actions of module default_policy+default_registration_policy+default_oauth_policy+_DYNAMIC_MODULE_yahoo2_ did not succeed. (captiveportal::PacketFence::DynamicRouting::Module::done) Feb 5 15:45:39 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(15) INFO: [mac:c8:05:a4:31:13:4e] Instantiate profile host_apd_profile (pf::Connection::ProfileFactory::_from_profile) Feb 5 15:45:39 localhost httpd.portal-docker-wrapper[9967]: httpd.portal(15) INFO: [mac:c8:05:a4:31:13:4e] Allowing user through portal even though he is registered as the release bypass is set and the connection profile is configured to let registered users use the registration module of the portal. (captiveportal::PacketFence::DynamicRouting::Module::Root::execute_child) Feb 5 15:45:39 localhost pfqueue-backend[7667]: pfqueue(4644) INFO: [mac:unknown] Running task api (main::process_data) Feb 5 15:45:39 localhost pfqueue-backend[7667]: pfqueue(4644) INFO: [mac:unknown] Calling api task fingerbank_process (pf::task::api::doTask) Feb 5 15:45:39 localhost pfqueue-backend[7667]: pfqueue(4644) WARN: [mac:unknown] Cannot find any combination ID in any schemas (fingerbank::Source::LocalDB::_getCombinationID) Feb 5 15:45:39 localhost httpd.webservices-docker-wrapper[5184]: httpd.webservices(2922) WARN: [mac:c8:05:a4:31:13:4e] Unable to pull accounting history for device c8:05:a4:31:13:4e. The history set doesn't exist yet. (pf::accounting_events_history::latest_mac_history) Feb 5 15:45:39 localhost pfqueue-backend[7667]: pfqueue(4644) INFO: [mac:unknown] Upstream is configured and unable to fullfil an exact match locally. Will ignore result from local database (fingerbank::Source::LocalDB::match) Feb 5 15:45:39 localhost pfqueue-backend[7667]: pfqueue(4644) INFO: [mac:unknown] Successfully interrogate upstream Fingerbank project for matching. Got device : 3163 (fingerbank::Source::Collector::match) Feb 5 15:45:39 localhost httpd.webservices-docker-wrapper[5184]: httpd.webservices(2923) WARN: [mac:c8:05:a4:31:13:4e] Unable to pull accounting history for device c8:05:a4:31:13:4e. The history set doesn't exist yet. (pf::accounting_events_history::latest_mac_history) Feb 5 15:45:40 localhost httpd.dispatcher-docker-wrapper[4287]: httpd.dispatcher: Ip2Mac mac for 0.0.0.0 not found sql: no rows in result

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants