PKCE Default Flow
π The PKCE
flow will be replacing Authorization Code
as the default flow. Projects that upgrade to this milestone release should test their applications thoroughly to make sure their OAuth flows behave as expected. Users can still upgrade to this release and use the .authorizationCode
grant type, however they will need to explicitly specify that authorization flow in their applications:
let grantType: OAuth.GrantType = .authorizationCode(.secureRandom())
oauth.authorize(provider: provider, grantType: grantType)
π Discussion Thread:
OAWebView Constructor
The OAWebView
constructor will be changed from OAWebView()
to OAWebView(oauth: OAuth)
. This provides 2 benefits:
- Improved testability of the
OAWebView
andOAWebViewCoordinator
. - Explicitly setting the OAuth object inside the constructor leads to less potential bugs and developer confusion.
π Discussion Thread:
List view
0 issues of 0 selected
There are no open issues in this milestone
Add issues to milestones to help organize your work for a particular release or project. Find and add issues with no milestones in this repo.