Open
Conversation
Owner
|
@denizzzka thanks for your contributions. I merged the dependency updates. I'll get back to this one later. |
thaven
reviewed
Sep 27, 2020
| // the authorization code may be exchanged for an access token. | ||
| reqParams["response_type"] = "code"; | ||
| reqParams["response_type"] = | ||
| (provider.options & OAuthProvider.Option.tokenResponseType) ? "token" : "code"; |
Owner
There was a problem hiding this comment.
This looks like you're trying to use the OAuth2 implicit flow, which was excluded from this library because it is meant to be used by in-browser apps only, and D is not a language used to created such apps.
Please see the instructions for VK on https://vk.com/dev/authcode_flow_user
Contributor
Author
There was a problem hiding this comment.
No, I use it for auth of vk parsing tool logged as user. Tool generates URL, user clicks to it and then copy and pastes token response URL from browser into this tool.
This is official recommened way to authorize VK API user.
thaven
reviewed
Sep 27, 2020
Contributor
Author
|
Any news about this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds:
.clientSessioncallThis is need to allow interop with VK.com