Git Product home page Git Product logo

kinde-php-sdk's Introduction

Kinde PHP SDK

The Kinde SDK for PHP.

You can also use the PHP starter kit here.

PRs Welcome Kinde Docs Kinde Community

Documentation

For details on integrating this SDK into your project, head over to the Kinde docs and see the PHP SDK doc 👍🏼.

Publishing

The core team handles publishing.

Contributing

Please refer to Kinde’s contributing guidelines.

License

If you need help connecting to Kinde, please contact us at [email protected]. By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.

kinde-php-sdk's People

Contributors

trunges21 avatar davidkinde avatar rairaman avatar danielrivers avatar catoriclothing avatar oliwolff1 avatar onderay avatar boxblinkracer avatar muhammadatif-devsinc avatar

Stargazers

Mark Portbury avatar Giovanni Paolo avatar  avatar Roincent avatar Rafael Laurindo avatar André Albanese Junior avatar Mohammad Syuhada avatar Michael Rüttgers avatar Chris Pearce avatar Audrey Teles avatar Ignas Bernotas avatar Peter Sabichay Phanouvong avatar  avatar viv avatar Leo Chen avatar Connor from Kinde avatar  avatar  avatar Dave avatar

Watchers

Evgeny avatar Leo Chen avatar  avatar Dave avatar Chris Pearce avatar Marcos Martini avatar  avatar Jeffrey avatar

kinde-php-sdk's Issues

Documentation issue: Incorrect KindeClientSDK Initialization

Prerequisites

How can we improve the docs or what is missing?

Hello!

The PHP SDK docs have this string to initialize Kinde
$this->kindeClient = new KindeClientSDK("KINDE_HOST", "KINDE_REDIRECT_URL", "KINDE_CLIENT_ID", "KINDE_CLIENT_SECRET", "KINDE_GRANT_TYPE");

however this no longer appears to work as the KINDE_POST_LOGOUT_REDIRECT_URL parameter is also required but not specified anywhere in the docs.

Additionally the environment variables for configuration make no mention of the required KINDE_GRANT_TYPE.

I think it would be good to document exactly what parameters KindeClientSDK accepts and what is required during the "Configure your app" part of the SDK docs.

Provide extra context, such as what you were trying to do and your requirements

I was trying to use Kinde for the first time and ran into many issues due to improper & outdated documentation

If the docs page already exists, please provide a link

https://kinde.com/docs/developer-tools/php-sdk/#configure-your-app

Bug: KindeClientSDK::getClaims can return null, but getClaim can't handle it

Prerequisites

Describe the issue

Under some (so far unknown) circumstances, there is an error on this line, as $claims passed from the line above is null.

Some checking needs to be performed, and a meaningful exception raised when those checks fail, or sensible defaults passed.

Library URL

https://github.com/kinde-oss/kinde-php-sdk

Library version

1.2.3

Operating system(s)

macOS

Operating system version(s)

macOS Sonoma

Further environment details

Using as part of a PHP/Laravel application, and getUserOrganizations() is being called on a request subsequent to the login request.

Reproducible test case URL

No response

Additional information

No response

Documentation issue: Add link to starter kit

Prerequisites

How can we improve the docs or what is missing?

According to the following Kinde OSS template, there should be a link to the related starter kit (if it exists): https://github.com/kinde-oss/kinde-oss-repo-template/blob/main/README_template_non-generator.md

Provide extra context, such as what you were trying to do and your requirements

N/A

If the docs page already exists, please provide a link

No response

Documentation issue: Update README to Kinde's OSS Template

Prerequisites

How can we improve the docs or what is missing?

Update README to Kinde's OSS template for SDK - https://github.com/kinde-oss/kinde-oss-repo-template/blob/main/README_template_non-generator.md

Provide extra context, such as what you were trying to do and your requirements

N/A

If the docs page already exists, please provide a link

No response

Bug: Inconsistent return of getToken

Prerequisites

Describe the issue

Hello!

When initially returning getToken in the callback it returns a stdClass but on any subsequent attempts to retrieve it returns an array. This doesn't appear to be documented anywhere but I think it would be good to have it be consistent regardless of when it's accessed

Library URL

https://github.com/kinde-oss/kinde-php-sdk

Library version

1.2.1

Operating system(s)

Ubuntu

Operating system version(s)

22.04

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

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.