LBF38 / logto_repro

Repo for reproducing bugs and issues w/ Logto

Home Page:https://logto.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logto Reproduction repository

This repository is for reproducing bugs and issues found with the Logto library.

Machine to Machine (M2M) Authentication

curl --location
  --request POST 'http://localhost:3001/oidc/token'
  # Credentials are constructed by "<app-id>:<app-secret>" and encoded in base64
  --header 'Authorization: Basic MTVhaXpybjEyZWN2dW50Nnhza2wyOjZMZHNNTDd0b0hNSll4YXJjS1JpWWQ1QWVrcDZKNGxB'
  --header 'Content-Type: application/x-www-form-urlencoded'
  --data-urlencode 'grant_type=client_credentials'
  --data-urlencode 'resource=https://default.logto.app/api'
  --data-urlencode 'scope=all'

Access ressources

curl --location
  --request GET 'https://default.logto.app/api'
  --header 'Authorization: Bearer <granted-access-token>'

About

Repo for reproducing bugs and issues w/ Logto

https://logto.io


Languages

Language:Shell 100.0%