Giter Club home page Giter Club logo

corbado-go's People

Contributors

corbadoman avatar corbadovych avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

corbado-go's Issues

Bugs in v3.0.0

  • MIT license links to PHP
  • Change integration test email

Improve SDK

  • Copy and adapt README from corbado-php
  • Run all code examples from README (make sure they are working)
  • Make all code examples fully working (imports, fun main etc.)
  • Adapt corbado-php directory structure (introduce services etc.)
  • Move config to root and rename to Configuration
  • Set version 1.0.0
  • Add more Go versions to GitHub matrix (until test users have been implemented)
  • Use test users (for email OTP and sms OTP)
  • Implement integration test for email OTP validate and sms OTP validate
  • Update documentation
  • Update wizards
  • Restructure version header (rename to X-Corbado-SDK, add "name", "sdkVersion" and "languageVersion" to it)
  • Move internal packages to internal/
  • Extend README.md with "private client" info

The Corbado GO SDK is commonly referred to as a private client, specifically designed for usage within closed backend applications. This particular SDK should exclusively be utilized in such environments, as it is crucial to ensure that the API secret remains strictly confidential and is never shared.

Add SDK version to every request

Why

To get a understanding what SDKs our customers use we need to provide the SDK version in every API request.

TODOS

  • Add release version to go binary in some version constant/variable
  • Add this version to every request as an additional header: X-Corbado-SDK-Version (we use an additional header because we need to preserve the User-Agent field for the real user agent of the user of our customer)
  • Value: "Go SDK (release version)" so for example "Go SDK v0.3.0"

Competitors

Add system tests

  • Make real calls to the production BackendAPI
    • Add a new project, name “Corbado Go SDK System testing” (so each SDK will have its on corresponding project)
    • Should be same user/owner as Corbado
  • Use GitHub Secrets
    • CORBADO_BACKENDAPI
    • CORBADO_PROJECT_ID
    • CORBADO_APISECRET
  • Always use “random values” for fields with unique constraints so system tests can always run in parallel
  • Always “clean up” everything after system tests so system tests can run multiple times (and the project stays clean)

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.