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

Update AppAuth to v1.7.5 #10

Open
wants to merge 83 commits into
base: sumup_main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
36f12d0
Add badges to README
julienbodet Jun 3, 2020
df840e8
Make Core, ExternalUserAgent the default subspecs
soule Jun 9, 2020
e8d2864
Move OIDExternalAgentCustomBrowser into its own subspec and framework
soule Jul 10, 2020
80ea9b5
Replace itms-apps with https
soule Jul 10, 2020
11f3b60
Merge pull request #537 from openid/add-badges-to-readme
petea Jul 14, 2020
7232d6e
Exclude unit test files from code coverage analysis.
petea Jul 17, 2020
9d04840
Import TV authorization flow from GTMAppAuth
WilliamDenniss Jun 2, 2020
da0be7a
Modify TV authorization logic for AppAuth
WilliamDenniss Jun 2, 2020
72d874b
Rename GTM to OID, remove extra headers
soule Jul 15, 2020
8248ccb
Add AppAuthTV tests
soule Jul 22, 2020
d08724f
Add OIDTVTokenRequest class
soule Jul 29, 2020
da5642a
Add OIDTVTokenRequest tests
soule Jul 31, 2020
85cb334
Update for RFC compliance, use new OIDTVTokenRequest class
soule Aug 5, 2020
6e89dba
Add OIDTVAuthorizationResponse tests
soule Aug 7, 2020
61229cb
Add updated tvOS example project
soule Aug 11, 2020
8c33e8c
Add OIDC Discovery for the Device Authorization Endpoint
soule Aug 13, 2020
e46c433
Add extension for Example-iOS_ObjC
julienbodet Mar 11, 2018
099afb1
Multiple fixes to the app extension example
julienbodet Mar 11, 2018
5e4e47b
Add app group to example to get auth state from extension
julienbodet Mar 18, 2018
af44143
Add extension to objc carthage example
julienbodet Mar 18, 2018
602066c
Add extension to swift example
julienbodet Mar 18, 2018
216c5b5
Fixed warnings in storyboards + formatting
julienbodet Mar 18, 2018
636c4d9
Change iOS version of example's app extensions + layout changes
julienbodet Mar 26, 2018
10ad90e
Add NS_AVAILABLE_IOS(10.0) for widgetActiveDisplayModeDidChange:withM…
julienbodet Mar 28, 2018
13b3f63
Fix indentation
julienbodet Nov 20, 2018
8993d43
Configure Carthage and update Podfile
julienbodet Nov 21, 2018
88136c3
Rename TVAuthorizationEndpoint to deviceAuthorizationEndpoint
soule Aug 14, 2020
e191b1b
Document tvOS support in READMEs
soule Aug 14, 2020
d17f586
Remove OIDTVTokenRequestTests from sources for AppAuth-iOS scheme.
danblakemore Jun 24, 2021
cceee25
Get tests running again (#666)
petea Nov 30, 2021
fce32e8
Update init unavailable doc on OIDServiceDiscovery (#640)
danblakemore Nov 30, 2021
73180f7
Fix branch name
petea Nov 30, 2021
77f36f2
Remove unmatched diagnostic pop (#641)
danblakemore Nov 30, 2021
70ddc97
Fix up type in designated initializer (#662)
dmaclach Nov 30, 2021
fc43394
Use TARGET_OS_OSX for macOS rather than TARGET_OS_MAC (#681)
Alex-4-Git Feb 2, 2022
9ae7c24
Add ASWebAuthenticationSession support in OIDExternalUserAgentMac. (#…
Alex-4-Git Feb 14, 2022
ddaa0ce
Document the design principles behind AppAuth
WilliamDenniss Mar 4, 2022
de08e78
Set min iOS version to 9 for SPM (#690)
petea Mar 16, 2022
cd55670
Update tests badge.
petea Mar 18, 2022
63996b0
Reenable Codecov.
petea Mar 18, 2022
5198a96
Have swift test generate code coverage.
petea Mar 18, 2022
4faf436
Run pod lib lint tests (#695)
petea Mar 18, 2022
ac3e1e0
Run tests against the Xcode project (#696)
petea Mar 18, 2022
6f48321
Rollback the EnterpriseUserAgent target. (#693)
petea Mar 18, 2022
33660c2
Prepare for 1.5.0 release (#692)
petea Mar 18, 2022
25f44d1
Fix changelog typo.
petea Mar 19, 2022
d49491a
Remove empty AppAuthEnterpriseUserAgent folder from Xcode project. (#…
petea Mar 31, 2022
0612db5
Update issue templates (#699)
petea Apr 1, 2022
98ed5e1
Bump cocoapods-downloader from 1.5.1 to 1.6.3 (#700)
dependabot[bot] Apr 7, 2022
8582608
Update issue templates
petea Jun 1, 2022
a447315
Update ObjC style guide link.
petea Aug 17, 2022
c1a5080
Add prefersEphemeralSession parameter for external user-agents (#645)
danblakemore Aug 19, 2022
d35a616
Update OIDServiceConfiguration.m (#656)
zhuyinli Sep 9, 2022
c687980
Correct OIDServiceDiscovery's NSCoding implementation (#721)
petea Sep 9, 2022
3d36a58
Prep for 1.6.0 release (#722)
petea Sep 12, 2022
7423943
Update issue templates (#723)
petea Sep 13, 2022
f4360e0
Update feature_request.md (#724)
petea Sep 15, 2022
ec85862
Create config.yml (#725)
petea Sep 20, 2022
b46216a
Update ObjC style guide link.
petea Oct 19, 2022
caba194
Use the macos-11 runner (#745)
petea Jan 12, 2023
ecc52c5
Bump iOS minimum version in podspec to support Xcode 14.3 (#761)
mdmathias Apr 7, 2023
0eadcde
Update podspec version and added description to changelog (#763)
mdmathias Apr 7, 2023
0b62e41
Update to macos-12 runner for workflows (#767)
mdmathias Apr 19, 2023
5ea841f
Update framework minimum OS versions (#766)
mdmathias Apr 19, 2023
71cde44
Bump podspec to 1.6.2 and add entry to Changelog (#769)
mdmathias Apr 28, 2023
36c1df0
introduce addtional http headers to OIDTokenRequest (#770)
break2k Jun 26, 2023
b376a87
Fix nullability annotation for -[OIDExternalUserAgentIOS init] (#727)
tiwoc Oct 4, 2023
8b437c4
feat: allow custom nonce in OIDAuthorizationRequest (#788)
vonovak Oct 18, 2023
aea7b8a
fixed wrong variable for additional http headers in OIDTokenRequest (…
GravityByte Oct 25, 2023
3dc3e93
Add privacy manifest (#822)
mdmathias Mar 6, 2024
4625d9d
Prepare for 1.7.0 release (#823)
mdmathias Mar 8, 2024
4b6948f
Add back missing method to OIDAuthorizationResponse (#825)
mdmathias Mar 9, 2024
2bd00a2
Fix OIDTokenRequest for AppAuthCore and AppAuthTV (#826)
mdmathias Mar 9, 2024
059f77e
Prep for patch release fixing broken API change (#827)
mdmathias Mar 9, 2024
97b1903
Streamline copying of privacy manifest (#830)
mdmathias Mar 11, 2024
269c905
Prep patch release fixing errors in privacy reports (#831)
mdmathias Mar 11, 2024
5563d06
Fix missing manifest in bundle using SPM (#833)
mdmathias Mar 13, 2024
7e2c09c
Prepare for 1.7.3 release (#834)
mdmathias Mar 13, 2024
eee20d3
Adds defines module to AppAuth.podspec (#845)
mdmathias Apr 2, 2024
8c0b028
Prepare for 1.7.4 release (#846)
mdmathias Apr 11, 2024
bbc3648
Use correct xcconfig syntax for podspec (#851)
mdmathias Apr 18, 2024
c89ed57
Prepare for 1.7.5 release (#852)
mdmathias Apr 22, 2024
a70b527
Merge remote-tracking branch 'origin/master' into sumup_main
jgraeger May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore:
- "UnitTests"
27 changes: 10 additions & 17 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
---
name: Bug report
about: Create a report to help us improve

name: Bug Report
about: Submit a bug report if something isn't working as expected.
title: ""
labels: bug, triage
assignees: ""
---

**Are you filing an issue about iOS 12?**
You can find preliminary support for iOS 12 in the (ios12beta branch)[https://github.com/openid/AppAuth-iOS/tree/ios12beta] and background information in (the associated pull request)[https://github.com/openid/AppAuth-iOS/pull/246]. Please review these materials before filing iOS 12 issues. Thanks.

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
2. Tap on '....'
3. Scroll down to '....'
4. See error

Expand All @@ -23,16 +22,10 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Environment**
- Device: [ e.g. iPhone 13, MacBook Pro, etc ]
- OS: [ e.g. iOS 15, macOS 11, etc ]
- Browser: [ e.g. Safari, Chrome, etc ]

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
name: Feature request
about: Suggest an idea for this project

name: Feature Request
about: Make a feature request if you have a suggestion for something new.
title: ""
labels: enhancement, triage
assignees: ""
---

**Are you filing an issue about iOS 12?**
You can find preliminary support for iOS 12 in the (ios12beta branch)[https://github.com/openid/AppAuth-iOS/tree/ios12beta] and background information in (the associated pull request)[https://github.com/openid/AppAuth-iOS/pull/246]. Please review these materials before filing iOS 12 issues. Thanks.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Is your feature request related to a problem you're having? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: tests

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:

xcode-project-test:
runs-on: macos-12
strategy:
matrix:
flags: [
"-scheme AppAuth-iOS -destination 'platform=iOS Simulator,name=iPhone 11,OS=16.2' -sdk 'iphonesimulator16.2'",
"-scheme AppAuth-macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx13.1'",
"-scheme AppAuth_macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx13.1'",
"-scheme AppAuth-tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=16.1' -sdk 'appletvsimulator16.1'",
"-scheme AppAuth_tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=16.1' -sdk 'appletvsimulator16.1'",
"-scheme AppAuthTV -destination 'platform=tvOS Simulator,name=Apple TV,OS=16.1' -sdk 'appletvsimulator16.1'"
]
steps:
- uses: actions/checkout@v3
- name: Run unit test targets
run: |
xcodebuild test \
-project AppAuth.xcodeproj \
${{ matrix.flags }}

pod-lib-lint:
runs-on: macos-12
strategy:
matrix:
flags: [
'',
'--use-libraries',
'--use-static-frameworks'
]
steps:
- uses: actions/checkout@v3
- name: Update Bundler
run: bundle update --bundler
- name: Install Ruby gems with Bundler
run: bundle install
- name: Lint podspec using local source
run: pod lib lint --verbose ${{ matrix.flags }}

spm-build-test:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Build unit test target
run: swift build
- name: Run unit test target
run: swift test --enable-code-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- SCHEME=AppAuth_macOS DESTINATION="'platform=macOS,arch=x86_64'" SDK=macosx10.15
- SCHEME=AppAuth-tvOS DESTINATION="'platform=tvOS Simulator,name=Apple TV,OS=13.0'" SDK=appletvsimulator13.0
- SCHEME=AppAuth_tvOS DESTINATION="'platform=tvOS Simulator,name=Apple TV,OS=13.0'" SDK=appletvsimulator13.0
- SCHEME=AppAuthTV DESTINATION="'platform=tvOS Simulator,name=Apple TV,OS=13.0'" SDK=appletvsimulator13.0
before_script:
- sudo gem install xcpretty
script:
Expand Down
43 changes: 32 additions & 11 deletions AppAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "AppAuth"
s.version = "1.4.0"
s.version = "1.7.5"
s.summary = "AppAuth for iOS and macOS is a client SDK for communicating with OAuth 2.0 and OpenID Connect providers."

s.description = <<-DESC
Expand Down Expand Up @@ -31,30 +31,51 @@ It follows the OAuth 2.0 for Native Apps best current practice
# classes of AppAuth with tokens on watchOS and tvOS, but currently the
# library won't help you obtain authorization grants on those platforms.

s.platforms = { :ios => "7.0", :osx => "10.9", :watchos => "2.0", :tvos => "9.0" }
ios_deployment_target = "9.0"
osx_deployment_target = "10.12"
s.ios.deployment_target = ios_deployment_target
s.osx.deployment_target = osx_deployment_target
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"

s.source = { :git => "https://github.com/openid/AppAuth-iOS.git", :tag => s.version }
s.requires_arc = true

s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
}

# Subspec for the core AppAuth library classes only, suitable for extensions.
s.subspec 'Core' do |core|
core.source_files = "Source/*.{h,m}", "Source/AppAuthCore/*.{h,m}"
core.exclude_files = "Source/AppAuth.h"
core.source_files = "Sources/AppAuthCore.h", "Sources/AppAuthCore/*.{h,m}"
core.resource_bundles = {
"AppAuthCore_Privacy" => ["Sources/AppAuthCore/Resources/PrivacyInfo.xcprivacy"]
}
end

# Subspec for the full AppAuth library, including platform-dependant external user agents.
# Subspec for the full AppAuth library, including platform-dependent external user agents.
s.subspec 'ExternalUserAgent' do |externalUserAgent|

externalUserAgent.source_files = "Source/*.{h,m}", "Source/AppAuthCore/*.{h,m}", "Source/AppAuth/*.{h,m}"
externalUserAgent.dependency 'AppAuth/Core'

externalUserAgent.source_files = "Sources/AppAuth.h", "Sources/AppAuth/*.{h,m}"

# iOS
externalUserAgent.ios.source_files = "Source/AppAuth/iOS/**/*.{h,m}"
externalUserAgent.ios.deployment_target = "7.0"
externalUserAgent.ios.source_files = "Sources/AppAuth/iOS/**/*.{h,m}"
externalUserAgent.ios.deployment_target = ios_deployment_target
externalUserAgent.ios.frameworks = "SafariServices"
externalUserAgent.ios.weak_frameworks = "AuthenticationServices"

# macOS
externalUserAgent.osx.source_files = "Source/AppAuth/macOS/**/*.{h,m}"
externalUserAgent.osx.deployment_target = '10.9'
externalUserAgent.osx.source_files = "Sources/AppAuth/macOS/**/*.{h,m}"
externalUserAgent.osx.deployment_target = osx_deployment_target
externalUserAgent.osx.weak_frameworks = "AuthenticationServices"
end

# Subspec for the full AppAuth library, including platform-dependent external user agents.
s.subspec 'TV' do |tv|
tv.source_files = "Sources/AppAuthTV.h", "Sources/AppAuthTV/*.{h,m}"
tv.dependency 'AppAuth/Core'
end

s.default_subspecs = 'Core', 'ExternalUserAgent'
end
Loading