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

Allow Users to pass additional Parameters via function requestTemporaryCredentials #9

Open
Meternios opened this issue Sep 9, 2020 · 2 comments
Labels
invalid This doesn't seem right

Comments

@Meternios
Copy link

Meternios commented Sep 9, 2020

I need to add some specific Params to my temporaryCredentials call, could you pls pass a Map<String, String> to the function besides the callback URL.

After allowing to pass additional Parameter the function call should look like this:
var test = await auth.requestTemporaryCredentials(redirectUrl, {'oauth_consumer_key': consumerKey});

@kaetemi
Copy link
Member

kaetemi commented Jan 2, 2021

Can you give the use case? That doesn't look quite right.
The consumer key and the private secret are already passed to ClientCredentials, Authorization, and therefore to requestTemporaryCredentials.

@kaetemi
Copy link
Member

kaetemi commented Jan 2, 2021

oauth_consumer_key is part of the OAuth header.

@kaetemi kaetemi added the invalid This doesn't seem right label Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants