{"repo":"descope/go-sdk","free":true,"listed":false,"github":"https://github.com/descope/go-sdk","clone":"git clone https://github.com/descope/go-sdk.git","description":"Go library used to integrate with Descope","language":"Go","stars":58,"topics":["sdk","authentication","golang","descope","go","go-sdk","golang-sdk","authorization"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Descope SDK for Go The Descope SDK for Go provides convenient access to the Descope user management and authentication API for a backend written in Go. You can read more on the Descope Website. Requirements The SDK supports Go version 1.18 and above. Installing the SDK Install the package with: Setup A Descope Project ID is required to initialize the SDK. Find it on the project page in the Descope Console. Auth Management Key It is possible to disable public access to any the Descope authentication method APIs via the the Descope console. In these cases, private access is still available by using an Management Key . This management key needs to have the correct access control, either Authentication or Full Access , for the project or the entire company. Create one in the Descope Console, and provide it as the AuthManagementKey in the Descope client initialization (see below). Note : the authentication management key can, and probably should, be a different management key than the one provided for management API usage. JWT Validation Leeway By default, the SDK uses a 5-second leeway (time skew) when validating JWT tokens to account for minor clock synchronization differences between systems. If JWTLeeway is not set or set to 0, the SDK will use the default 5-second leeway for backward compatibility. Usage Authentication Functions These sections show how to use the SDK to perform various authentication/authorization functions: 1. OTP Authentication 2. Magic Link 3. Enchanted Li","default_branch":null,"files":null,"tree":[],"storefront":"/r/descope","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/descope/go-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}