We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I just noticed that the facebookAuth function doesn't support passing custom values for the state param, which is always set to a random value:
facebookAuth
state
middleware/packages/oauth-providers/src/providers/facebook/facebookAuth.ts
Line 18 in f997ee0
However, the googleAuth function does allow this:
googleAuth
middleware/packages/oauth-providers/src/providers/google/googleAuth.ts
Line 20 in f997ee0
Would you accept a PR that would allow passing custom state values through facebookAuth?
The text was updated successfully, but these errors were encountered:
Hi @jacoscaz thank you for raising the issue.
@monoald What do you think of this?
Sorry, something went wrong.
For the time being I'll vendor this package within my own project and test the proposed change. If everything works well I'd be happy to open a PR.
No branches or pull requests
Hello!
I just noticed that the
facebookAuth
function doesn't support passing custom values for thestate
param, which is always set to a random value:middleware/packages/oauth-providers/src/providers/facebook/facebookAuth.ts
Line 18 in f997ee0
However, the
googleAuth
function does allow this:middleware/packages/oauth-providers/src/providers/google/googleAuth.ts
Line 20 in f997ee0
Would you accept a PR that would allow passing custom
state
values throughfacebookAuth
?The text was updated successfully, but these errors were encountered: