Skip to content
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

Too many Tokens call #636

Open
fabrer opened this issue Dec 22, 2023 · 1 comment
Open

Too many Tokens call #636

fabrer opened this issue Dec 22, 2023 · 1 comment
Labels
question Question asked by a user triage A new issue that needs triage

Comments

@fabrer
Copy link

fabrer commented Dec 22, 2023

Package

I’m not sure

Ask the question

Hello,

I am reaching out to seek assistance with an issue I am experiencing in my Drupal Next setup with a NextJS frontend.

I have configured Drupal Next with a frontend in NextJS for an informational and public website. There is no authenticated section on the site. Upon analyzing the NewRelic statistics, I have observed an unusually high rate of 1000 calls per minute to the token retrieval functionality.

To provide some context, I have set up authentication between Drupal and NextJS using OAuth2 and a NextJS user. Despite this configuration, I am struggling to comprehend the reason behind these 1000 calls per minute. I am wondering if you or your team have encountered similar challenges in your applications.

If you have any insights into this matter or can recommend a specific configuration for authentication that may address this issue, I would greatly appreciate your guidance. Please let me know if additional information or logs are needed to better diagnose the problem.

Thank you in advance for your time and assistance.

Best regards,

@fabrer fabrer added question Question asked by a user triage A new issue that needs triage labels Dec 22, 2023
@p0zi
Copy link

p0zi commented Apr 12, 2024

Try increasing token expiration time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question asked by a user triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

2 participants