Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# UNRELEASED
- Replace case range with explicit case labels in OIDTokenUtilities. Addresses issue #947. ([#963](https://github.com/openid/AppAuth-iOS/pull/963))

# 2.1.0
- Add SwiftUI + Swift Package Manager sample app under `Examples/Example-iOS_Swift-SPM`. ([#952](https://github.com/openid/AppAuth-iOS/pull/952))
- Removed external browser (Safari) fallback from `OIDExternalUserAgentIOS`. If `ASWebAuthenticationSession` fails to start (e.g., Guided Access is enabled), the authorization flow now fails with an error instead of opening an external browser. ([#954](https://github.com/openid/AppAuth-iOS/pull/954))
Expand Down
2 changes: 1 addition & 1 deletion Sources/AppAuthCore/OIDTokenUtilities.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ + (NSString *)redact:(NSString *)inputString {
switch(inputString.length){
case 0:
return @"";
case 1 ... 8:
case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8:
return @"[redacted]";
case 9:
default:
Expand Down