Code Monkey home page Code Monkey logo

socialite-apple-helper's People

Contributors

adam2marsh avatar ahilmurugesan avatar luolongfei avatar vonec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

socialite-apple-helper's Issues

JWT version

Hello,

I try to install this helper, but composer fails, due to a old JWT version :

composer require ahilmurugesan/socialite-apple-helper
Using version ^0.7.5 for ahilmurugesan/socialite-apple-helper
./composer.json has been updated
Running composer update ahilmurugesan/socialite-apple-helper
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires ahilmurugesan/socialite-apple-helper ^0.7.5 -> satisfiable by ahilmurugesan/socialite-apple-helper[0.7.5].
    - ahilmurugesan/socialite-apple-helper 0.7.5 requires lcobucci/jwt ^3.3 -> found lcobucci/jwt[3.3.0, ..., 3.4.x-dev] but the package is fixed to 4.1.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

I did a composer up, then a composer clear-cache but the issue remains.

Did I miss something important ?

Bug report: condition is always true.

Hello, I found that the condition in line 22 of the Kernel.php file (

return ((config('services.apple.refresh_token_interval_days') * 86400) + config('services.apple.client_secret_updated_at') > time());
) is always true, which will cause the task to be executed every minute and the client secert will be updated every minute, but I think you want to expire in the client secert It was updated the day before.
Therefore, I think it should be changed to:

return ((config('services.apple.refresh_token_interval_days') * 86400) + config('services.apple.client_secret_updated_at') < time());

Heroku / Env variables not in .env file

Hey! Thank you so much for this very useful tool.

I've managed to get this all working, however, I have stumbled upon a small issue.

I was setting up a cron to run the php artisan socialite:apple --refresh command as per your advice but it does fail because I run an application on Heroku so there is no .env file. Only env varaibles.

I was wondering if you have any advice how to get around this or possible fix?

Thank so much,

All the best.

I not get proper user email and user name in apple token

After installing this package in my laravel project. I got user details form apple token. but in this response, I got the user name became "null" and email id does not match with user email id (might be its encrypted email id). so please can help me with how to get a proper user email id and user name.

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

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  
                                                                                     

socialite-apple-helper installation issue in laravel 5.4

@vonec, I try to install the socialite-apple-helper package in laravel 5.4. but it's showing error for while installation

Note: The latest version of laravel everything working fine. might be it's lower version issue so please suggestions something to fix the issue in laravel 5.4

Apple login key generete issue

I installed this package 6-month ago. now If I try to run "php artisan socialite:apple " is a command in my project cmd line. I got this error message on my cmd screen. Please give the solution asap now.

"It was not possible to parse your key, reason: error:0906D06C:PEM routines:PEM_read_bio:no start line"

Genereting keys issue

Last step when we need to pit refresh interval

"Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.