Skip to content

feat(providers): Add Epic Games provider #12944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yaelbrinkert
Copy link

@yaelbrinkert yaelbrinkert commented May 8, 2025

☕️ Reasoning

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

Copy link

vercel bot commented May 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 9:22am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Jun 6, 2025 9:22am

Copy link

vercel bot commented May 8, 2025

@yaelbrinkert is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@ThangHuuVu ThangHuuVu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I have dropped some comments
btw, could you also update this file: docs/pages/data/manifest.json with the provider name
And could you also record a video showing that it is working on your end?

authorization: {
url: "https://www.epicgames.com/id/authorize",
params: {
scope: "profile friends_list country",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for default scope, let's not include these

Suggested change
scope: "profile friends_list country",
scope: "profile",


token: {
url: "https://api.epicgames.dev/epic/oauth/v2/token",
async request(context) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can simplify this by utilising the property token_endpoint_auth_method: 'client_secret_basic'
no need to specify the fetch call manually here.

Comment on lines 139 to 140
clientId: options.clientId,
clientSecret: options.clientSecret,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no needed to be explicit define these

@yaelbrinkert
Copy link
Author

yaelbrinkert commented May 10, 2025 via email

@github-actions github-actions bot added adapters Changes related to the core code concerning database adapters firebase @auth/firebase-adapter prisma @auth/prisma-adapter dynamodb @auth/dynamodb-adapter fauna @auth/fauna-adapter mikro-orm @auth/mikro-orm-adapter dgraph @auth/dgraph-adapter mongodb @auth/mongodb-adapter neo4j @auth/neo4j-adapter pouchdb @auth/pouchdb-adapter sequelize @auth/sequelize-adapter upstash-redis @auth/upstash-redis-adapter supabase @auth/supabase-adapter typeorm @auth/typeorm-adapter xata @auth/xata-adapter labels Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters Changes related to the core code concerning database adapters azure-tables core Refers to `@auth/core` d1 dgraph @auth/dgraph-adapter drizzle @auth/drizzle-adapter dynamodb @auth/dynamodb-adapter edgedb examples express @auth/express related fauna @auth/fauna-adapter firebase @auth/firebase-adapter frameworks hasura kysely mikro-orm @auth/mikro-orm-adapter mongodb @auth/mongodb-adapter neo4j @auth/neo4j-adapter neon next-auth pg pouchdb @auth/pouchdb-adapter prisma @auth/prisma-adapter providers sequelize @auth/sequelize-adapter solidjs supabase @auth/supabase-adapter surrealdb svelte typeorm @auth/typeorm-adapter unstorage upstash-redis @auth/upstash-redis-adapter xata @auth/xata-adapter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants