mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-28 13:45:49 +03:00
[GH-ISSUE #329] Custom grant flow #204
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aliasdoc on GitHub (Jan 3, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/329
Description:
Hi,
Is possible to use this library with a custom oath flow ?? For my personal needs, I have an oauth server with a custom grant flow for social login (like password grant flow but with custom params). I need to transmit these JSON params in body:
and receive a JSON response like this:
Thanks.
OAuth Provider (Twitter, Github, ..):
I use a custom provider with a custom grant flow (like password grant flow but with custom params) made for social login.
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
8.0 (Swift 3.0)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@phimage commented on GitHub (Jan 3, 2017):
I think that it is not supported (only Authorization Code grant type or implicit is supported)
You can't provide a Doc link?
@aliasdoc commented on GitHub (Jan 3, 2017):
Thank you @phimage, I don't have doc for this flow, it's just a password grant flow customized with username and password parameters renamed by network and access_token. In my app I use two grant flows:
@phimage commented on GitHub (Jan 3, 2017):
ok I see
until password grant flow is not supported, I can't provide a way to do this
but when someone or I implement it, I will remember that "username" and "password" parameters name must be customisable
@aliasdoc commented on GitHub (Jan 3, 2017):
Thank you @phimage.
@phimage commented on GitHub (Apr 19, 2017):
@oshitub123 do not write into closed issue
this one do not talk about implicit grant...
do some research, implicit grant : response_type: "token"
@oshitub123 commented on GitHub (Apr 21, 2017):
thank you @phimage