{"info":{"_postman_id":"4534d00b-225f-408d-b1b1-bae451d3f74b","name":"[LNV Auth]","description":"<html><head></head><body><p>Serveur OAuth2 (Laravel Passport) — SSO central pour la plateforme LNV. Endpoints d'authentification, gestion des tokens et ressources utilisateurs.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7884501","collectionId":"4534d00b-225f-408d-b1b1-bae451d3f74b","publishedId":"2sBXwsKUhe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-10T10:20:30.000Z"},"item":[{"name":"Auth","item":[{"name":"Get access token (partner / M2M)","id":"09b7b1c8-71fd-41cf-9ea5-92302e7a14d9","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"grant_type\":\"client_credentials\",\"client_id\":\"019d4859-5cb0-728c-adfe-ce606fcf0289\",\"client_secret\":\"your_client_secret\",\"scope\":\"season.read competition.read\"}"},"url":"https://auth.lnv.fr/api/v1/token","description":"<p>Obtenir un Bearer token OAuth2 via le grant <code>client_credentials</code> (accès partenaire / service-to-service).</p>\n<p><strong>Exemple :</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"grant_type\": \"client_credentials\",\n  \"client_id\": \"019d4859-5cb0-728c-adfe-ce606fcf0289\",\n  \"client_secret\": \"your_client_secret\",\n  \"scope\": \"season.read competition.read\"\n}\n</code></pre>\n<p><strong>Scopes disponibles</strong> (singulier, séparés par des espaces) :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Ressource</th>\n<th>Scopes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Saisons</td>\n<td><code>season.read</code> <code>season.write</code> <code>season.archive</code> <code>season.restore</code> <code>season.purge</code></td>\n</tr>\n<tr>\n<td>Compétitions</td>\n<td><code>competition.read</code> <code>competition.write</code> <code>competition.archive</code> <code>competition.restore</code> <code>competition.purge</code></td>\n</tr>\n<tr>\n<td>Matchs</td>\n<td><code>game.read</code> <code>game.write</code> <code>game.archive</code> <code>game.restore</code> <code>game.purge</code></td>\n</tr>\n<tr>\n<td>Journées</td>\n<td><code>game_day.read</code> <code>game_day.write</code> <code>game_day.archive</code> <code>game_day.restore</code> <code>game_day.purge</code></td>\n</tr>\n<tr>\n<td>Clubs</td>\n<td><code>club.read</code> <code>club.write</code> <code>club.archive</code> <code>club.restore</code> <code>club.purge</code></td>\n</tr>\n<tr>\n<td>Équipes</td>\n<td><code>team.read</code> <code>team.write</code> <code>team.archive</code> <code>team.restore</code> <code>team.purge</code></td>\n</tr>\n<tr>\n<td>Stades</td>\n<td><code>venue.read</code> <code>venue.write</code> <code>venue.archive</code> <code>venue.restore</code> <code>venue.purge</code></td>\n</tr>\n<tr>\n<td>Centres d'entraînement</td>\n<td><code>training_center.read</code> <code>training_center.write</code> <code>training_center.archive</code> <code>training_center.restore</code> <code>training_center.purge</code></td>\n</tr>\n<tr>\n<td>Joueurs</td>\n<td><code>player.read</code> <code>player.write</code> <code>player.archive</code> <code>player.restore</code> <code>player.purge</code></td>\n</tr>\n<tr>\n<td>Saisons joueurs</td>\n<td><code>player_season.read</code> <code>player_season.write</code> <code>player_season.archive</code> <code>player_season.restore</code> <code>player_season.purge</code></td>\n</tr>\n<tr>\n<td>Staff</td>\n<td><code>staff.read</code> <code>staff.write</code> <code>staff.archive</code> <code>staff.restore</code> <code>staff.purge</code></td>\n</tr>\n<tr>\n<td>Rôles staff</td>\n<td><code>staff_role.read</code> <code>staff_role.write</code></td>\n</tr>\n<tr>\n<td>Saisons staff</td>\n<td><code>staff_season.read</code> <code>staff_season.write</code> <code>staff_season.archive</code> <code>staff_season.restore</code> <code>staff_season.purge</code></td>\n</tr>\n<tr>\n<td>Officiels</td>\n<td><code>official.read</code> <code>official.write</code> <code>official.archive</code> <code>official.restore</code> <code>official.purge</code></td>\n</tr>\n<tr>\n<td>Palmarès</td>\n<td><code>palmares.read</code> <code>palmares.write</code> <code>palmares.archive</code> <code>palmares.restore</code> <code>palmares.purge</code></td>\n</tr>\n<tr>\n<td>Membres LNV</td>\n<td><code>lnv_member.read</code> <code>lnv_member.write</code> <code>lnv_member.archive</code> <code>lnv_member.restore</code> <code>lnv_member.purge</code></td>\n</tr>\n<tr>\n<td>Utilisateurs</td>\n<td><code>user.read</code> <code>user.write</code> <code>user.delete</code></td>\n</tr>\n<tr>\n<td>Sync Genius</td>\n<td><code>genius.sync</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","token"],"host":["https://auth.lnv.fr"],"query":[],"variable":[]}},"response":[{"id":"d97530c2-f626-42a1-a075-d2e59f0a2e52","name":"response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"grant_type\":\"client_credentials\",\"client_id\":\"019d4859-5cb0-728c-adfe-ce606fcf0289\",\"client_secret\":\"your_client_secret\",\"scope\":\"season.read competition.read\"}"},"url":"https://auth.lnv.fr/api/v1/token","description":"Obtenir un Bearer token OAuth2 via le grant `client_credentials` (accès partenaire / service-to-service).\n\n**Exemple :**\n```json\n{\n  \"grant_type\": \"client_credentials\",\n  \"client_id\": \"019d4859-5cb0-728c-adfe-ce606fcf0289\",\n  \"client_secret\": \"your_client_secret\",\n  \"scope\": \"season.read competition.read\"\n}\n```\n\n**Scopes disponibles** (singulier, séparés par des espaces) :\n\n| Ressource | Scopes |\n|---|---|\n| Saisons | `season.read` `season.write` `season.archive` `season.restore` `season.purge` |\n| Compétitions | `competition.read` `competition.write` `competition.archive` `competition.restore` `competition.purge` |\n| Matchs | `game.read` `game.write` `game.archive` `game.restore` `game.purge` |\n| Journées | `game_day.read` `game_day.write` `game_day.archive` `game_day.restore` `game_day.purge` |\n| Clubs | `club.read` `club.write` `club.archive` `club.restore` `club.purge` |\n| Équipes | `team.read` `team.write` `team.archive` `team.restore` `team.purge` |\n| Stades | `venue.read` `venue.write` `venue.archive` `venue.restore` `venue.purge` |\n| Centres d'entraînement | `training_center.read` `training_center.write` `training_center.archive` `training_center.restore` `training_center.purge` |\n| Joueurs | `player.read` `player.write` `player.archive` `player.restore` `player.purge` |\n| Saisons joueurs | `player_season.read` `player_season.write` `player_season.archive` `player_season.restore` `player_season.purge` |\n| Staff | `staff.read` `staff.write` `staff.archive` `staff.restore` `staff.purge` |\n| Rôles staff | `staff_role.read` `staff_role.write` |\n| Saisons staff | `staff_season.read` `staff_season.write` `staff_season.archive` `staff_season.restore` `staff_season.purge` |\n| Officiels | `official.read` `official.write` `official.archive` `official.restore` `official.purge` |\n| Palmarès | `palmares.read` `palmares.write` `palmares.archive` `palmares.restore` `palmares.purge` |\n| Membres LNV | `lnv_member.read` `lnv_member.write` `lnv_member.archive` `lnv_member.restore` `lnv_member.purge` |\n| Utilisateurs | `user.read` `user.write` `user.delete` |\n| Sync Genius | `genius.sync` |"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...\"\n}"}],"_postman_id":"09b7b1c8-71fd-41cf-9ea5-92302e7a14d9"},{"name":"Get current user","id":"54ff45d9-6285-4ed8-bfca-ded868850b20","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://auth.lnv.fr/api/v1/me","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"4534d00b-225f-408d-b1b1-bae451d3f74b","id":"4534d00b-225f-408d-b1b1-bae451d3f74b","name":"[LNV Auth]","type":"collection"}},"urlObject":{"path":["api","v1","me"],"host":["https://auth.lnv.fr"],"query":[],"variable":[]}},"response":[{"id":"a708a79a-1960-4941-9fb5-210fadb6727d","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://auth.lnv.fr/api/v1/me"},"_postman_previewlanguage":"Text","header":[{"key":"cache-control","value":"no-cache, private"},{"key":"content-type","value":"application/json"},{"key":"access-control-allow-origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Server Error\"\n}"}],"_postman_id":"54ff45d9-6285-4ed8-bfca-ded868850b20"}],"id":"17559b4d-2e02-4c3b-992c-8784bd5597b6","_postman_id":"17559b4d-2e02-4c3b-992c-8784bd5597b6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"4534d00b-225f-408d-b1b1-bae451d3f74b","id":"4534d00b-225f-408d-b1b1-bae451d3f74b","name":"[LNV Auth]","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"variable":[{"id":"baseUrl","key":"baseUrl","value":"https://auth.lnv.fr","type":"string"}]}