View Issue Details

IDProjectCategoryView StatusLast Update
5095Composr alpha bug reportsGeneral / Uncategorisedpublic2022-12-01 18:14
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary5095: Hybridauth: Possible disabled provider issue
DescriptionAfter providing config for a provider (Discord... see Skype message) and clicking the link to connect the account in Setup API access, Hybridauth throws a "disabled provider" exception. A var_dump confirms the provider remains disabled despite Hybridauth grabbing the ID and secret.
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2022-11-30 23:23

administrator   ~7762

Parameter typo in the example hybridauth config. However, trying to log in with a hybridauth provider by clicking a button throws
Refused to send form data to 'https://test.pdstig.me/data_custom/hybridauth.php?provider=Discord&composr_return_url=https-cms%3Aindex.php%3Fpage%3Dhome' because it violates the following Content Security Policy directive: "form-action 'self'".

PDStig

2022-12-01 01:42

administrator   ~7765

We now have it processing through OAuth2, but we are getting PHP ERROR [1] Uncaught TypeError: Argument 1 passed to cms_ucfirst_ascii() must be of the type string, null given, called in sources_custom/hybridauth.php on line 318 and defined in sources/global3.php:1464 Stack trace: #0 sources_custom/hybridauth.php(318): cms_ucfirst_ascii(NULL) #1 data_custom/hybridauth.php(94): hybridauth_handle_authenticated_account('Discord', Object(Hybridauth\User\Profile)) 2 {main} thrown in sources/global3.php on line 1464 .

Will work on this later.

Issue History

Date Modified Username Field Change
2022-11-30 00:16 PDStig New Issue
2022-11-30 00:16 PDStig Status Not Assigned => Assigned
2022-11-30 00:16 PDStig Assigned To => Chris Graham
2022-11-30 23:23 PDStig Note Added: 0007762
2022-12-01 01:42 PDStig Note Added: 0007765
2022-12-01 18:14 Chris Graham Assigned To Chris Graham => user4172
2022-12-01 18:14 Chris Graham Status Assigned => Resolved
2022-12-01 18:14 Chris Graham Resolution open => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised