Malformed auth_url
Hey need some assistance here, I've been stuck here for days.
I've deployed a rails application on webapp.io and everything runs smoothly but when I try to login by going to KindeSdk.auth_url the ulr that comes to the browser is
https://oauth2/auth?client_id=<......>
Can you help?6 Replies
I made sure by accessing the environment to make sure the KINDE_DOMAIN environment variable exists and it does:
Sorry in the delay @Francisco Ribeiro and for you spending your time to resolve this. I am going to speak with a team member more experinced than me with RoR and get back to you.
Thanks! I'll be waiting then
Hey @Francisco Ribeiro - thanks for raising this, I'm taking a look 😃 . Just checking if all the other .env variables are coming through correctly and it's just KINDE_DOMAIN that's not? Also if you've tried something like https://stackoverflow.com/a/56035251/19597920 already? Thanks!
Stack Overflow
Rails doesn't see environment variable
I am trying to move a Rails application into production but I am having a problem with Rails not seeing my environment variable.
I have the password for my database setup in my .bashrc file like
Hey @viv (kinde) , sorry I only had time now to answer. It seems the problem is not in the environment loading since in the request above, the clientId is sent and it's coming from the same env. Only domain is giving problems. For more context, this is the controller and the Kindesdk configuration.
Hey @Francisco Ribeiro - no worries at all! Hmm, wacky - would you be able to take a look at this and see if this works for you?