Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
auth — PlaceOS authentication service and API gatekeeper. | Kitploit
Outils/GitHubGitHub/placeos/auth
Authentication & AuthorizationCloud Infrastructure SecurityEncryption/Decryption ToolsIdentity & Access Management (IAM)API Security
GitHubplaceos/auth

auth

PlaceOS authentication service and API gatekeeper.

Voir le dépôt
21il y a 1 moisPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

Authentification PlaceOS

VARIABLES D'ENVIRONNEMENT

root@kitploit:~
# If a sentry Data Source Name is configured
SENTRY_DSN=https://<key>@<organization>.ingest.sentry.io/<project>

# A shared secret for encrypting cookies
SECRET_KEY_BASE=84b04ea4259542f365

# JWT Private key
JWT_SECRET=Base64 Encoded RSA PRIVATE KEY

# Database name and host
RETHINKDB_DB=place_development
RETHINKDB_HOST=rethink
RETHINKDB_PORT=
RETHINKDB_USER=
RETHINKDB_PASSWORD=

# Rails environment to load
RAILS_ENV=production

# Disable forced SSL
COAUTH_NO_SSL=true

# Serving static files (true if set to anything)
RAILS_SERVE_STATIC_FILES=

Flux d'authentification

Serveur à serveur

Utilisez le flux Client Credentials

  1. POST /auth/oauth/token

avec le corps :

root@kitploit:~
{
  "grant_type"    : "password",
  "username"      : "[email protected]",
  "password"      : "sekret"
}

Ceci renverra

root@kitploit:~
{
  "access_token": "19adad999683f5b450c460726aa",
  "token_type": "bearer",
  "expires_in": 7200
}

Authentification d'application native

  1. Connexion
    • POST /auth/signin (ou connexion SSO)
  2. Demander un code avec PKCE
    • GET /auth/oauth/authorize?response_type=code&client_id=THE_ID&redirect_uri=THE_URL&scope=public&code_challenge=43_CHAR_CHALLENGE_CODE&code_challenge_method=S256
    • renvoie une redirection 303 avec une localisation qui inclut : ?code=RETURNED_CODE
  3. Obtenir le jeton
    • POST /auth/oauth/token?client_id=THE_ID&client_secret=THE_SECRET&code=RETURNED_CODE&grant_type=authorization_code&redirect_uri=THE_URL&code_verifier=SHA256(43_CHAR_CHALLENGE_CODE)

Ceci renverra

root@kitploit:~
{
  "access_token": "de6780bc506a0446309bd9362820ba8aed28aa506c71eedbe1c5c4f9dd350e54",
  "token_type": "Bearer",
  "expires_in": 7200,
  "refresh_token": "8257e65c97202ed1726cf9571600918f3bffb2544b26e00a61df9897668c33a1"
 }

Révocation des jetons de rafraîchissement

root@kitploit:~
POST /auth/oauth/revoke?client_id=<client_id>&client_secret=<secret>
token=<refresh-token>
Télécharger l’outil