Closed allisonc07 closed 10 months ago
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
62bec4c
) 79.54% compared to head (c019be7
) 0.00%.
Files | Patch % | Lines |
---|---|---|
SmartcarAuth/SmartcarAuth.swift | 0.00% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In the
launchAuthFlow
method, we pass the redirect URI scheme toASWebAuthenticationSession
as thecallbackURLScheme
so that it is able to receive the callback from Connect. Since we enforced the redirect URI scheme to be"sc" + clientId
in the past, we could manually construct the scheme to pass toASWebAuthenticationSession
since it would be the same format every time. However, now that we are allowing any type of custom scheme, we will need to read the scheme off of the redireURI parameter.