{"id":14007103,"url":"https://github.com/paulphys/spotify-next-auth-token-rotation","last_synced_at":"2025-07-24T01:30:45.781Z","repository":{"id":111396970,"uuid":"547851125","full_name":"paulphys/spotify-next-auth-token-rotation","owner":"paulphys","description":"NextAuth Refresh Token Rotation for Spotify OAuth","archived":false,"fork":false,"pushed_at":"2022-10-08T21:00:19.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T01:31:10.384Z","etag":null,"topics":["next-auth","spotify-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulphys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-10-08T12:22:01.000Z","updated_at":"2024-04-25T01:31:11.030Z","dependencies_parsed_at":"2023-04-06T18:32:50.376Z","dependency_job_id":null,"html_url":"https://github.com/paulphys/spotify-next-auth-token-rotation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulphys%2Fspotify-next-auth-token-rotation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulphys%2Fspotify-next-auth-token-rotation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulphys%2Fspotify-next-auth-token-rotation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulphys%2Fspotify-next-auth-token-rotation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulphys","download_url":"https://codeload.github.com/paulphys/spotify-next-auth-token-rotation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214780404,"owners_count":15783765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["next-auth","spotify-api"],"created_at":"2024-08-10T10:01:49.708Z","updated_at":"2024-08-10T10:03:49.498Z","avatar_url":"https://github.com/paulphys.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Spotify NextAuth Token Rotation\nThis repository expands the [NextAuth.js Refresh Token Rotation example](https://github.com/nextauthjs/next-auth-refresh-token-example) to Spotify OAuth 2.0.\n\n## Setup\n\n### Spotify API\n\n- [Sign up for a Spotify developer account](https://developer.spotify.com/dashboard)\n- Create a new application\n- Add `http://localhost:3000/api/auth/callback/spotify` as Redirect URI\n- Copy `Client ID` and `Client Secret`\n\n### Develop locally\n\n```bash\ngit clone https://github.com/paulphys/spotify-next-auth-token-rotation\ncd spotify-next-auth-token-rotation\nyarn\nyarn dev\n```\n\n### Environment variables\n\nCreate a `.env` file similar to [`.env.example`](https://github.com/paulphys/spotify-next-auth-token-rotation/blob/main/.env.example) in the root of the application and fill in all values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulphys%2Fspotify-next-auth-token-rotation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulphys%2Fspotify-next-auth-token-rotation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulphys%2Fspotify-next-auth-token-rotation/lists"}