canonical / identity-platform-login-ui

Login UI for the Canonical identity broker and identity provider solution
Apache License 2.0
9 stars 6 forks source link

Iam 671 fix `CheckAllowedProvider` function #222

Closed BarcoMasile closed 5 months ago

BarcoMasile commented 5 months ago

Description

This PR fixes the CheckAllowedProvider for the OAuthkeeper case in which the Oauth2LoginRequest from the loginFlow object would be missing since OAuthkeeper doesn't perform OAuth2 requests.

A new simple function has been introduced with tests. This PR closes #221.

Side notes