OAuthSwift
OAuthSwift copied to clipboard
Swift based OAuth library for iOS
Hi, I see that we have [`ASWebAuthenticationURLHandler`](https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/Handler/ASWebAuthenticationURLHandler.swift) that nicely supports `ASWebAuthenticationSession`. However, it has two limitations: 1. It's marked as `@available(iOS 13.0, ...)`. - It could work in `iOS 12.0+`...
This fixes error handling, and makes a couple of improvements to implementation of the `requestWithAutomaticAccessTokenRenewal` function: - Pass all error responses as-is, and look only for the `tokenExpired`; - Treat...
### Description: When I request a token, the webview shows me the login view to enter the user and password, but after that, it shows two really small buttons with...
### Description: By default, there is false value for httpShouldHandleCookies in init method of OAuthSwiftHTTPRequest. I couldnt find any config how can I override this value to true. ### OAuth...
`renewAccessToken` does not currently respect `contentType` or `accessTokenBasicAuthentification`, causing certain refresh operations to fail because they lack the auth header. This fixes that by passing those parameters through in the...
### Description: In order to support single-sign out with a redirect endpoint you need access to the original `id_token` received during authentication (https://identityserver4.readthedocs.io/en/latest/endpoints/endsession.html#refendsession). It seems like this should be easy...
### Description: ### OAuth Provider? : YouTube Data API (v3) ### OAuth Version: - [ ] Version 1 - [ x] Version 2 ### OS (Please fill the version) :...
### Description: Is there a reason why we cannot use the `accessTokenBasicAuthentification` option when calling the `renewAccessToken` function from the OAuth2Swift class? If we previously set the option when retrieving...
The new logging mechanism looks really useful, however, I wanted to extend it to integrate with my app's existing logging system. I added a custom log action that accepts a...
As stated in #663, the new Withings endpoint: 1. requires a parameter `action`, with value "requesttoken"; 2. requires parameter `grant_type` to equal "refresh_token" (not "authorization_code"); 3. and has the response...