Skip to content

feat: add a policy callback to customize OIDC credential linking

Codecov / codecov/patch failed Feb 10, 2025 in 0s

58.88% of diff hit (target 78.56%)

View this Pull Request on Codecov

58.88% of diff hit (target 78.56%)

Annotations

Check warning on line 250 in selfservice/strategy/oidc/strategy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy.go#L249-L250

Added lines #L249 - L250 were not covered by tests

Check warning on line 258 in selfservice/strategy/oidc/strategy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy.go#L258

Added line #L258 was not covered by tests

Check warning on line 110 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L110

Added line #L110 was not covered by tests

Check warning on line 114 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L114

Added line #L114 was not covered by tests

Check warning on line 131 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L131

Added line #L131 was not covered by tests

Check warning on line 138 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L138

Added line #L138 was not covered by tests

Check warning on line 145 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L145

Added line #L145 was not covered by tests

Check warning on line 162 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L162

Added line #L162 was not covered by tests

Check warning on line 165 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L165

Added line #L165 was not covered by tests

Check warning on line 167 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L167

Added line #L167 was not covered by tests

Check warning on line 199 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L199

Added line #L199 was not covered by tests

Check warning on line 204 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L204

Added line #L204 was not covered by tests

Check warning on line 224 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L223-L224

Added lines #L223 - L224 were not covered by tests

Check warning on line 230 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L230

Added line #L230 was not covered by tests

Check warning on line 245 in selfservice/strategy/oidc/strategy_login.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_login.go#L245

Added line #L245 was not covered by tests

Check warning on line 357 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L357

Added line #L357 was not covered by tests

Check warning on line 362 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L362

Added line #L362 was not covered by tests

Check warning on line 367 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L367

Added line #L367 was not covered by tests

Check warning on line 373 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L373

Added line #L373 was not covered by tests

Check warning on line 378 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L378

Added line #L378 was not covered by tests

Check warning on line 382 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L382

Added line #L382 was not covered by tests

Check warning on line 386 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L386

Added line #L386 was not covered by tests

Check warning on line 391 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L391

Added line #L391 was not covered by tests

Check warning on line 416 in selfservice/strategy/oidc/strategy_registration.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

selfservice/strategy/oidc/strategy_registration.go#L416

Added line #L416 was not covered by tests