I am using Discourse CAS sso app, but after logging into my CAS server from discourse, it redirects me to this address: http://localhost:3000/session/sso_login?sso=bm9uY2U9N2, I am using pow for local development, so localhost is invalid.
I have changed it to “discourse.dev” in
discourse.conf, but it seems don’t work.
My issue is also recorded here: where should I provide the callback URL? · Issue #2 · eriko/discourse_cas_sso · GitHub
So, the question is: what controls the return_url sent by sso? Thanks.