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 2 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 May 10, 2025 11:46am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview May 10, 2025 11:46am

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core` providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants