undefined in redirect URL
See original GitHub issueTrying to make eas work with istio, almost got it working (I will share docs later), but getting undefined appended to redirect URI for some reason, any idea what that may be?
Logs from eas (notice bookinfo.dev.k8s.hal24k.nlundefined):
{"service":"external-auth-server","level":"verbose","message":"parsed state redirect uri: {\"scheme\":\"http\",\"host\":\"bookinfo.dev.k8s.hal24k.nlundefined\",\"path\":\"\",\"reference\":\"absolute\"}"}
{"service":"external-auth-server","level":"verbose","message":"parsed request uri: {\"path\":\"/oauth/callback\",\"query\":\"__eas_oauth_handler__=authorization_callback&code=b06e7a405446796a4ea28f2ab24bf306391745767af1a809215a1017eed9da57&scope=openid%20email%20profile&state=05ee47f92a8f54c2bbdacefeab9691d14b5b2c1b80d2e8ddeeac5f0267f9ad62e4551aa461587aeaf85b295d0d585170745e083ab90d4e39e53bf5e93a456feb204a9af6bb0cea606164fdcab94bc54&session_state=5iumlRGmL2bNBJjetsd9lSLjPHrjZeT5Uwor_TfkGaM.6b769f0d8d051e6b9c81221e413f82a1\",\"reference\":\"relative\"}"}
{"service":"external-auth-server","level":"verbose","message":"parsed redirect uri: {\"scheme\":\"http\",\"host\":\"bookinfo.dev.k8s.hal24k.nlundefined\",\"path\":\"\",\"query\":\"__eas_oauth_handler__=authorization_callback&code=b06e7a405446796a4ea28f2ab24bf306391745767af1a809215a1017eed9da57&scope=openid%20email%20profile&state=05ee47f92a8f54c2bbdacefeab9691d14b5b2c1b80d2e8ddeeac5f0267f9ad62e4551aa461587aeaf85b295cd8cd6b63e8af7e76060fb34f00f21efc08d5dd4995635828e53bf5e93a456feb204a9af6bb0cea606164fdcab94bc54&session_state=5iumlRGmL2bNBJjetsd9lSLjPHrjZeT5Uwor_TfkGaM.6b769f0d8d051e6b9c81221e413f82a1\",\"reference\":\"absolute\"}"}
{"service":"external-auth-server","level":"info","message":"redirecting browser to: \"http://bookinfo.dev.k8s.hal24k.nlundefined/?__eas_oauth_handler__=authorization_callback&
Somewhere here, but not sure exactly what is the problem https://github.com/travisghansen/external-auth-server/blob/8d97265b972ed4f663452368adaf59cd276b5888/src/plugin/oauth/index.js#L140
Issue Analytics
- State:
- Created 4 years ago
- Comments:66 (66 by maintainers)
Top Results From Across the Web
javascript url undefined redirect - Stack Overflow
I have some javascript to direct the page to a new url but I get directed to a www.myurl.com/undefined instead.
Read more >Redirect fails -undefined url - JavaScript - SitePoint Forums
Hi all, I need to redirect to a specific page a after form slection butI am gettimg the error of “sPrefHome is undefined”...
Read more >Invalid redirect_uri expected string got undefined
in Allowed Logout URLs. Once I run the server and login via my gmail, I get the invalid redirect_uri message. Any ideas? Regards...
Read more >Sent to [url]/undefined when clicking link or button on GDPR ...
Hi, I'm running into a problem after installing and setting up the plugin. When the popup is activated, clicking »Read more«, »Reject« or...
Read more >undefined at the end of URL in SERP - Google Support
The undefined URL is redirecting with a 301 to the right one so it's not generating a 404. What should I do to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok then yeah setting the token on a per tenant filter sounds like the perfect solution. I’ll snap a release and you can try it all out!
LOL I’ve been there! Yeah so I’ll commit my code with the header configuration and then you can use the syntax I mentioned above.
Alternatively, are you using a single oidc provider/instance with the same client_id etc for all tenants? Meaning, is there only ever 1
userNacross all tenants? If so, we could get pretty creative with the assertions and have 1 token cover everything.