Git Product home page Git Product logo

keycloak-sms-tencent's Introduction

keycloak 短信验证

2020-03-25 默认手机号当验证码 手机号使用 attr 中的 phone 可以修改用户名了


新增

注册时,

  1. 增加手机号码非空验证(2020-07-27)
  2. 增加手机号已注册验证
  3. 重写用户名邮件登录模块,增加手机号作为用户名登录的场景
  4. 重写用户名邮件登录模块,增加手机号作为用户名登录的场景

使用说明

keycloak使用和功能扩展

手机验证码登录集成

  1. 下载代码[email protected]:zhangzhenling/keycloak-sms-tencent.git

    $ git clone [email protected]:zhangzhenling/keycloak-sms-tencent.git
  2. 执行打包命令:mvn install

  3. target文件夹中的keycloak-sms-auth-spi-10.0.2-jar-with-dependencies.jar拷贝到keycloak项目的providers文件夹中

  4. 将主题样式文件themes合并到keycloakthemes目录中

  5. 在keycloak Admin Console管理控制台页面,选择相应域下的Authentication菜单

  6. 创建flows

    1. 登录流程,复制Browser,然后修改成如下图所示:

      image-20200731165958184

    2. 注册流程,复制Registration,修改为如下图所示:

      image-20200731170101049

    3. 重置密码流程,复制Reset Credentials,修改如下图所示:

      image-20200731171848566

  7. 在Bindings中进行操作绑定

    image-20200731172020264

2020-09-14

v1.0+ 版本需要搭配 修改keycloak源码 自行编译打包后的系统,才能使用!!!(修改keycloak源码,将phoneNumber加入User_Entity表中)

keycloak-sms-tencent's People

Contributors

yanfeiwuji avatar zhangzhenling avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.