Alan Frye

Results 20 comments of Alan Frye

I am running across the same issue running on Windows IIS Server. @lmeyemezu what web server are you using on window.

From inside my cluster, I was able to bypass emissary by accessing the authentication endpoint using curl and was to see the headers being set. ``` Host: auth-service.blueframe:9000 > User-Agent:...

Updated: I enabled trace logs with in envoy and ran test again. I am able to see the set cookie in the envoy logs but in the browser `set-cookie', 'BLUEFRAME_SESSION=%7B%0A++++%22TokenResponse%22%3A+%7B%0A++++++++%22access_token%22%3A+%22eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJzY2cyM21BRHlXeVpUVzdWcy00VWJaNS13TEtsSEI4UlhaU25oU0NYekhvIn0.eyJleHAiOjE2NTk3MTg5MDQsImlhdCI6MTY1OTcxODYwNCwiYXV0aF90aW1lIjoxNjU5NzE4NjA0LCJqdGkiOiJiYTM2NGY5MC00OWQ0LTRjYjYtOWQ1OS1mY2YwNzJhMDYzYTAiLCJpc3MiOiJodHRwczovLzEwLjM5LjgzLjI1My9hdXRoL3JlYWxtcy9ibHVlZnJhbWUiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYjVmMTUwMjktZDMwYi00NmRhLThlNjEtNGM3NWZlM2Y5NjNmIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZGVtb2FwcCIsInNlc3Npb25fc3RhdGUiOiI5YjJlNWU5ZC1mYzEwLTRiNWMtOTUzZS0zODcyMmRlYTY3YTMiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0dHBzOi8vMTAuMzkuODMuMjUzIl0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJkZWZhdWx0LXJvbGVzLWJsdWVmcmFtZSIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3L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YW1lIiwic3ViIjoiYjVmMTUwMjktZDMwYi00NmRhLThlNjEtNGM3NWZlM2Y5NjNmIiwidHlwIjoiUmVmcmVzaCIsImF6cCI6ImRlbW9hcHAiLCJzZXNzaW9uX3N0YXRlIjoiOWIyZTVlOWQtZmMxMC00YjVjLTk1M2UtMzg3MjJkZWE2N2EzIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjliMmU1ZTlkLWZjMTAtNGI1Yy05NTNlLTM4NzIyZGVhNjdhMyJ9.3mo7h-OdBGYP6NPIIWnw_umLsnuY620Wr1oLDYk5PGY%22%2C%0A++++++++%22expiry%22%3A+%222022-08-05T17%3A01%3A44.550335699Z%22%0A++++%7D%2C%0A++++%22IDToken%22%3A+%7B%0A++++++++%22exp%22%3A+1659718904%2C%0A++++++++%22iat%22%3A+1659718604%2C%0A++++++++%22auth_time%22%3A+1659718604%2C%0A++++++++%22jti%22%3A+%2200ee64d0-4ac1-4320-aab6-bac44dd65829%22%2C%0A++++++++%22iss%22%3A+%22https%3A%2F%2F10.39.83.253%2Fauth%2Frealms%2Fblueframe%22%2C%0A++++++++%22aud%22%3A+%22demoapp%22%2C%0A++++++++%22sub%22%3A+%22b5f15029-d30b-46da-8e61-4c75fe3f963f%22%2C%0A++++++++%22typ%22%3A+%22ID%22%2C%0A++++++++%22azp%22%3A+%22demoapp%22%2C%0A++++++++%22session_state%22%3A+%229b2e5e9d-fc10-4b5c-953e-38722dea67a3%22%2C%0A++++++++%22at_hash%22%3A+%22U-p0-bLr2nV7sZBtoi98WQ%22%2C%0A++++++++%22acr%22%3A+%221%22%2C%0A++++++++%22sid%22%3A+%229b2e5e9d-fc10-4b5c-953e-38722dea67a3%22%2C%0A++++++++%22email_verified%22%3A+true%2C%0A++++++++%22name%22%3A+%22Alan+Frye%22%2C%0A++++++++%22preferred_username%22%3A+%22alan%22%2C%0A++++++++%22given_name%22%3A+%22Alan%22%2C%0A++++++++%22family_name%22%3A+%22Frye%22%2C%0A++++++++%22email%22%3A+%22alan_frye%40selinc.com%22%0A++++%7D%0A%7D;...

After adding cors config, I am still not getting the cookie header. my update mapping looks like this ``` apiVersion: getambassador.io/v2 kind: Mapping metadata: name: demoapp-mapping namespace: demo spec: prefix:...

I have added the examples I am using to the following github repo for reference. `https://github.com/alfrye/authdemo` The repo contains 2 apps one called demoapp which is the endpoints I am...

@Daniel-GrunbergerCA Thanks for the quick response of this. Just to clarify I was seeing this mainly in the Network policy control. `[control: Network policies] failed [control: Network policies] failed Namespace...

I am still experiencing this issue, that my set-cookie header from the AuthService is not being passed down from emissary to the application. Any suggestions would be greatly appreciated

Hi @cindymullins-dw Thanks for the reply. I have recently upgraded to Kubernetes v1.25.3+k3s1 version. I have also noticed that If I attempt to hit a route that is by passing...

Hi @cindymullins-dw I tried setting up the example that you sent me yesterday to see if I could get that working and after installing the example (https://www.getambassador.io/docs/emissary/3.1/howtos/basic-auth) in my kubernetes...

Another question I have is that I noticed when using the AuthService that the origin header is null, do you know if this is correct? My external authservice is using...