poppinss / oauth-client

A framework agnostic package to implement "Login with" flow using OAuth compliant authorization servers
MIT License
23 stars 2 forks source link

Await Callbacks—Race Condition #2

Closed MANTENN closed 1 year ago

MANTENN commented 1 year ago

Package version

adonis@0.9.0

Describe the bug

Currently when attempting to utilize the request context, because its asynchronous, the context from the request never gets attached.

I made a few changes in a fork to accomodate these changes: https://github.com/MANTENN/oauth-client. However, I am looking through the rest of the code where it may not handle asynchronous conditions.

Reproduction repo

No response

thetutlage commented 1 year ago

The issue is quite vague. Unfortunately, I cannot provide much help without looking at some code. Please, reopen if you can provide enough information to reproduce the issue