Ahilmurugesan / socialite-apple-helper

Laravel Socialite Apple Login Helper to generate and manage Client Secret
13 stars 14 forks source link

preg_match(): Compilation failed: invalid range in character class at offset 1828 #1

Closed Ultima2876 closed 4 years ago

Ultima2876 commented 4 years ago

When running php artisan socialite:apple to set up configuration:


 Enter Team Id :
 > MC4R275KJ6

 Enter Key Id :
 > WRPZ36BKQU

 Enter Client Id :
 > com.storycharmed.signin

 Enter Auth Key  [AuthKey_WRPZ36BKQU.p8]:
 > 

 Enter Redirect Uri [https://www.lunatic-pandora.com/socialite/apple/callback]:
 > 

 Enter client secret refresh interval(days) [180]:
 > 

In ValidatesAttributes.php line 1543:

  preg_match(): Compilation failed: invalid range in character class at offset 1828  
Ultima2876 commented 4 years ago

Fixed by updating to Laravel 5.6.34 (was originally on 5.6.33). Issue found here: https://github.com/laravel/framework/issues/28900

Thanks