mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #668] Feature Request - Add id_token support to OAuthSwiftCredential #435
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#435
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 @MikeSpelling on GitHub (Jul 13, 2021).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/668
Description:
In order to support single-sign out with a redirect endpoint you need access to the original
id_tokenreceived during authentication (https://identityserver4.readthedocs.io/en/latest/endpoints/endsession.html#refendsession).It seems like this should be easy enough to add to the
OAuthSwiftCredentialobject as an optional String.Around line 122 of OAuth2Swift for example (where the
access_tokenis set) theid_tokencould also be added?OAuth Provider? (Twitter, Github, ..):
Custom - using our own Identity Server
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
@colinhumber commented on GitHub (Oct 7, 2021):
I've added support for this in https://github.com/OAuthSwift/OAuthSwift/pull/679