[PR #679] [MERGED] Added parsing of id_token, if present in access token response #717

Closed
opened 2026-03-03 17:29:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/679
Author: @colinhumber
Created: 10/7/2021
Status: Merged
Merged: 12/11/2023
Merged by: @phimage

Base: masterHead: id_token


📝 Commits (2)

  • 0c9060f Added parsing of id_token, if present in access token response
  • a755516 Added Codable and NSCoder support to include idToken

📊 Changes

5 files changed (+47 additions, -2 deletions)

View changed files

📝 OAuthSwiftTests/OAuth2SwiftTests.swift (+5 -0)
📝 OAuthSwiftTests/OAuthSwiftCredentialTests.swift (+26 -0)
📝 OAuthSwiftTests/TestServer.swift (+3 -2)
📝 Sources/OAuthSwiftClient.swift (+4 -0)
📝 Sources/OAuthSwiftCredential.swift (+9 -0)

📄 Description

Adds support for parsing of id_token, if present, when fetching an access token. Details on why this is useful is in https://github.com/OAuthSwift/OAuthSwift/issues/668, specifically to support Single Sign Out with a redirect URI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/OAuthSwift/OAuthSwift/pull/679 **Author:** [@colinhumber](https://github.com/colinhumber) **Created:** 10/7/2021 **Status:** ✅ Merged **Merged:** 12/11/2023 **Merged by:** [@phimage](https://github.com/phimage) **Base:** `master` ← **Head:** `id_token` --- ### 📝 Commits (2) - [`0c9060f`](https://github.com/OAuthSwift/OAuthSwift/commit/0c9060f94347d4d960b5487fc36bf6c6a7260ab3) Added parsing of id_token, if present in access token response - [`a755516`](https://github.com/OAuthSwift/OAuthSwift/commit/a755516f99b6411f4f05f499363b2bc38271eb53) Added Codable and NSCoder support to include idToken ### 📊 Changes **5 files changed** (+47 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `OAuthSwiftTests/OAuth2SwiftTests.swift` (+5 -0) 📝 `OAuthSwiftTests/OAuthSwiftCredentialTests.swift` (+26 -0) 📝 `OAuthSwiftTests/TestServer.swift` (+3 -2) 📝 `Sources/OAuthSwiftClient.swift` (+4 -0) 📝 `Sources/OAuthSwiftCredential.swift` (+9 -0) </details> ### 📄 Description Adds support for parsing of `id_token`, if present, when fetching an access token. Details on why this is useful is in https://github.com/OAuthSwift/OAuthSwift/issues/668, specifically to support Single Sign Out with a redirect URI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 17:29:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#717
No description provided.