11.5.6、正方oauth认证
配置前必看:
部署认证对接包(11.3章节)
修改配置文件(11.5章节)
#正方oauth认证配置
#默认跳转地址,现场需要根据实际修改
funauth.login.forwardUrl=http://ehall.wisedu.com/qljfwapp/sys/emapol/*default/index.do
#默认跳转移动地址 现场需要根据实际修改
funauth.login.forwardmoburl= http://ehall.wisedu.com/qljfwapp/sys/emapol/*default/index.do
#正方获取code地址,现场根据实际地址修改
auth.code.url=http://xxxx:xx/cas/oauth2.0/authorize
#根据code获取access_token地址,现场根据实际地址修改
auth.token.url=http://xxxx:xx/cas/oauth2.0/accessToken
#根据access_token获取用户信息,现场根据实际地址修改
auth.user.url=http://xxxx:xx/cas/oauth2.0/profile
#client_id,应用审核通过后返回的 app_key,现场根据实际添加pc首页地址
auth.pc.appkey=
#client_secret,应用审核通过后返回的 app_secret,现场根据实际添加pc首页地址
auth.pc.secret=
#client_id,应用审核通过后返回的 app_key,现场根据实际添加移动首页地址
auth.mob.appkey=
#client_secret,应用审核通过后返回的 app_secret,现场根据实际添加移动首页地址
auth.mob.secret=
#默认选择哪种方式;正方zhengfang 参数配置固定
auth.bean=zhengfang
#使用正方认证
auth.special.authHelper=pubauthapp/SpecialLoginHelper2
auth.special.useAppAuth=true
#系统调用的退出地址
emaphome.logout_url=http://xxxx:xx/cas/logout?service=http://ehall.wisedu.com/qljfwapp/sys/pubauthapp/publogout/logout.do
#系统的域名
app.domainContext=http://ehall.wisedu.com