A plugin that enables authentication via Login with Kakao.
For more information, please see: https://meta.discourse.org/t/login-with-kakao-plugin/117564
- create an account at developer.kakao.com
- use the Client Id and Client Secret provided on developer.kakao.com to update your
SiteSettings.login_with_kakao_client_id
andSiteSettings.login_with_kakao_client_secret
on your local discourse instance - on developer.kakao.com, Under "Web Settings", set the following settings:
- Allowed Origins: http://localhost:4200
- Allowed Return URLs: http://localhost:4200/auth/kakao/callback
- create and login to an account on kakao.com with the same email you are using locally for your dev instance.
- optionally set the following site settings on your local discourse instance:
enable_local_logins: false
login_required: false
- start your local rails server as following:
% REDIRECT_URL_ORIGIN=http://localhost:4200 rails s
- at this point, when you go to localhost:4200, you should be redirected to /login and be presented with a "Login With Kakao" button. Clicking on it should take you to an authentication flow on kakao.com and redirect you in the end, to a logged in session at localhost: 4200.