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

Device Code Flow into Vapor OAuth #17

Closed
wants to merge 32 commits into from

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    a8d4e9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e96d61c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7466495 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b0a3b8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa30cca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b9c3e1a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    564f76e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f2e7272 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9f40c9c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f74ba60 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5a45fde View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. Implement PKCE for Vapor OAuth (#1)

    * add PKCE parameters to AuthorizationRequestObject
    
    * Update Vapor dependency version
    
    * Add PKCE parameters to OAuthCode class
    
    * Refactor AuthorizationRequestObject initializer signature
    
    * Update CodeManager protocol to include PKCE parameters
    
    * Add PKCE validation for code challenge method
    
    * Update EmptyCodeManager to include PKCE parameters
    
    * Add token generation and retrieval methods to TokenManager protocol
    
    * Add PKCE parameters to AuthorizePostRequest
    
    * Add CryptoKit import and include code_verifier parameter for PKCE
    
    * Add PKCE parameters to code generation and validation
    
    * Use SwiftCrypto for SHA-256 hashing and PKCE validation
    
    * Refactor StaticClientRetriever to use private clients dictionary
    
    * Add Sendable conformance to AuthorizeHandler protocol
    
    * Add Sendable conformance to UserManager protocol
    
    * Add Sendable conformance to TokenManager protocol
    
    * Add Sendable protocol to ResourceServerRetriever
    
    * Add Sendable conformance to CodeManager protocol
    
    * Add Sendable conformance to ClientRetriever protocol
    
    * Update OAuthHelper to conform to Sendable
    
    * Refactor OAuthHelper for Actor-Based Concurrency
    
    * Update swift-tools-version to 5.9
    
    * OpenID Configuration 1.0 Update and Swift Container Version Upgrade to 5.9.2-jammy (Actions) (#2)
    
    * Add OAuth 2.0 Discovery Document
    
    * Update Swift container version to 5.9.2-jammy
    
    * Update macOS build and test environment
    Remove swiftlint:disable comment in OAuthUser.swift
    
    * Enhance OAuth Security with JWTKit Integration and PKCE Code Challenge Handling (#4)
    
    * Add JWTKit dependency and implement IDToken protocol
    
    * Add generateAccessRefreshTokens method to TokenManager protocol
    
    * Add custom IDToken struct and update TokenManager implementations
    
    * Ensure PKCE Code Challenge is Properly Handled in Authorization Flow
    
    * Add tests for code challenge and code challenge method
    vamsii777 authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    b558124 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    02dd267 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9 from vamsii777/patch

    Update Vapor to 4.90.0: Fix for URI Parsing Vulnerability
    vamsii777 authored Jan 6, 2024
    Configuration menu
    Copy the full SHA
    ede89f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    f21676d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04cac65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9788cb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1398bf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    999f9fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    25ab030 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e4ed87 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    db1d572 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7f319da View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2fa53e6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    07471ad View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    711e9e6 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #10 from vamsii777/patch

    Comprehensive Refactoring of OAuth Components for Concurrency and PKCE Support
    vamsii777 authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2759152 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    57e6fd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd05d53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8605265 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6268dee View commit details
    Browse the repository at this point in the history
  5. Merge pull request #12 from vamsii777/patch

    Patch Release: Refactor OAuth models to structs, extend OAuthUser, and update Vapor
    vamsii777 authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a232797 View commit details
    Browse the repository at this point in the history