So I’m making a project in SpringBoot with Oauth security.

If I use Auth0 as my Authorization Server, I can register an application there and just say that I want user to be able to login with Google an Facebook. That’s all it takes.

If I use Keycloak as my Authorization Server, I can also have users choose Google or Facebook as there prefered login, but in order to provide that, I have to register my app with Google and Facebook first.

So how come it’s so easy with Auth0 and a little less easy with Keycloak? Is it a contract thing, does Auth0 have contracts with all these providers or something?

12 points

It’s because you’re using the dev environment which uses Auth0’s own keys. You’ll still have to jump through all of those same hoops when you set up a staging or prod environment.

permalink
report
reply
5 points

Seconded. There’s no way to do OAuth with Google or Facebook without registering your app with them. The only reason it works with Auth0 is because they’re supplying the app for you, but only during development.

permalink
report
parent
reply
2 points

Ah! That makes sense. Thanks

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 3K

    Monthly active users

  • 1.6K

    Posts

  • 25K

    Comments