View Issue Details

IDProjectCategoryView StatusLast Update
0005095Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-12-01 18:14
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0005095: 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.
Sponsorship open

Activities

Patrick Schmalstig

2022-11-30 23:23

administrator   ~0007762

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'".

Patrick Schmalstig

2022-12-01 01:42

administrator   ~0007765

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)) 0000002 {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 Patrick Schmalstig New Issue
2022-11-30 00:16 Patrick Schmalstig Status non-assigned => assigned
2022-11-30 00:16 Patrick Schmalstig Assigned To => Chris Graham
2022-11-30 23:23 Patrick Schmalstig Note Added: 0007762
2022-12-01 01:42 Patrick Schmalstig Note Added: 0007765
2022-12-01 18:14 Chris Graham Assigned To Chris Graham => Patrick Schmalstig
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