OIDC policy#740
Conversation
917ba06 to
8fd46a6
Compare
averevki
left a comment
There was a problem hiding this comment.
"Error from server (BadRequest): error when creating \"STDIN\": OIDCPolicy in version \"v1alpha1\" cannot be handled as a OIDCPolicy: strict decoding error: unknown field \"spec.provider.clientSecret\"\n"
tbh it is very hard to understand what these test are doing now. I don't see you add any new classes/methods to delegate the setup logic from the test, you only work with functions and fixtures which can be converted and reused later if they are part of the testsuite structure.
I see you are doing a lot of asserts here now. Do you actually check for properties that kuadrant adds? Or some of the asserts check for values added from keycloak and standard protocols? I think starting with simpler oidcpolicy test will be more helpful, but I might be wrong as I didn't understand these tests completely yet lol
d13c7ad to
f5661a4
Compare
averevki
left a comment
There was a problem hiding this comment.
"Error from server (BadRequest): error when creating \"STDIN\": OIDCPolicy in version \"v1alpha1\" cannot be handled as a OIDCPolicy: strict decoding error: unknown field \"spec.provider.clientSecret\"\n"
Signed-off-by: Alexander Cristurean <acristur@redhat.com>
Summary
Added OIDC policy extension tests for Authorino, covering different authentication flows and hostname configurations.
Test Coverage
Each flow tested against:
Requirements
@pytest.mark.extensions)