Skip to content

How to generate the client_secret by php laravel instead of RR script. #37

@vtayson

Description

@vtayson

Hi team,

When generating the client secret at step 4 in below guideline, there was an expired time for the key. That's mean after this amount of time, the client secret will get expired and we have manually run the RR script again and update the client secret.
https://github.com/GeneaLabs/laravel-sign-in-with-apple#configuration

Is there a way so that we can generate the client secret using php/laravel code, so that we can control the expiry time and automatically run the code and get a new client secret ?

Thanks,
Son


Acceptance Criteria

  • Documentation (README or wiki) explains how to generate the client_secret JWT in PHP/Laravel
  • Code example is provided using the package or a standard JWT library
  • The client_secret generation process is linked from the installation guide

Test Coverage

  • Documentation review: code example is tested and functional
  • Unit test (optional): a helper utility for client_secret generation produces a valid JWT

WSJF Priority Score

  • Score: 5.50
  • User/Business Value: 5 (Eliminates a recurring pain point for all users)
  • Time Criticality: 2 (Not urgent; current workaround works)
  • Risk Reduction/Opportunity Enablement: 4 (Auto-renewing secrets reduce ops burden significantly)
  • Job Size: 2 points (XS — docs + optional PHP helper)
  • Calculation: (5 + 2 + 4) ÷ 2 = 5.50

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions