Skip to content

ScriptonBasestar/sb-discourse-kakao

Repository files navigation

Login with Kakao Plugin

A plugin that enables authentication via Login with Kakao.

For more information, please see: https://meta.discourse.org/t/login-with-kakao-plugin/117564

Setting up Login With Kakao to auth using localhost for development

  1. create an account at developer.kakao.com
  2. use the Client Id and Client Secret provided on developer.kakao.com to update your SiteSettings.login_with_kakao_client_id and SiteSettings.login_with_kakao_client_secret on your local discourse instance
  3. on developer.kakao.com, Under "Web Settings", set the following settings:
  4. create and login to an account on kakao.com with the same email you are using locally for your dev instance.
  5. optionally set the following site settings on your local discourse instance:
    • enable_local_logins: false
    • login_required: false
  6. start your local rails server as following:
    • % REDIRECT_URL_ORIGIN=http://localhost:4200 rails s
  7. 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.

About

미완성. 작업중

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published