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

Implement the device grant flow #416

Merged
merged 2 commits into from
Feb 23, 2024
Merged

Conversation

DominikPalo
Copy link
Contributor

This PR implements the device grant authorization flow (as described in the RFC 8628). Although this flow is designed for devices that either lack a browser to perform a user-agent-based authorization or are input constrained, it is also very useful for applications not allowed to start their own webserver (loopback URL) or register a custom URL scheme to finish the authorization code grant flow.

We've been using this implementation for several months (from our private fork) without any issues.

@ossus-lib ossus-lib merged commit a9ef4c6 into p2:develop Feb 23, 2024
@ossus-lib ossus-lib mentioned this pull request Mar 4, 2024
jozefizso referenced this pull request in slidoapp/oauth2-swift Oct 21, 2024
…ain branch

* upstream/main:
  Fix visionOS build, bump to 5.3.5
  Update version info
  Implement device grant flow (#416)
  fixed issue with wrong state-machine after pull down gesture on presented SFSafariViewController (#415)
  Implement optional custom User-Agent string for embedded MacOS mode (#395)
  Update project files for Swift 5.3 (#413)
  Bring ASWebAuthenticationSession to macOS
  Add deprecation notices for embedded auth. Bump to 5.3.3
  Project Maintenance
  Fix memory issue when dismissing Safari View Controller (#380)
  Update the Alamofire link to the recent version (#382)
  Update OAuth2Authorizer+iOS.swift (#402)
  Add visionOS support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants