Also, can you check browser console logs? As I see you attached screenshots only from the debugger.
@sunnyson I am very happy that you are helping me too!
- What has to be defined in the admin panel?
- It’s really very interesting. In console logs I get “GET https: // localhost:4300/ net :: ERR_SSL_PROTOCOL_ERROR”. That could really be the solution. I wrote my front end in Angular. Do you have a hint for me?
@sunnyson and @DMehaffy
Thank you for the good tip!
The problem is now solved!
I accidentally entered “https: // …” in “Redirection url”. Now I’ve learned something again!
Best greetings!
Yeah, that’s exactly what I was expecting to see in your console log and redirect URL. You’re welcome!
Yep!
@DMehaffy @sunnyson Excuse me, I have one more question to ask. I deployed my Strapi app on Heroku. Regardless of what I put in “Redirect URL”, I get the status code 400. What could be the problem? Do I have to enter something in “server.js”?
After you deployed in heroke you should put your Public address instead of localhost into the redirect url.
@sunnyson Yes, I entered “https://my-app-name.herokuapp.com”, but I still got 400.
P.S.: I found the link below, but didn’t understand it.
node.js - Change redirect url for Google provider in Strapi - Stack Overflow
@sunnyson @DMehaffy Oh, I understand, my strapi-back-end address has to be entered, not mein front-end address. Now I can fall asleep better.
Many thanks!
Where did you find back-end address? I’m also on Heroku.