如何自定义所有WSO2 Identity Server登录相关页面

马库斯·沃林(Marcus Wallin)

我已遵循此指南来自定义登录页面:https : //docs.wso2.com/display/IS500/Customizing+Login+Pages

一切都很好。

我从4.3.3版本中签出了代码,并对以下内容进行了本地更改:https : //github.com/wso2/carbon-identity/tree/release-4.3.3/components/identity/org.wso2.carbon.identity .application.authentication.endpoint

在处理OpenIDConnect / OAuth2时,页面不仅仅涉及login.jsp,例如页面oauth2_authz.jsp。用我修改后的authenticationendpoint.war替换默认的authenticationendpoint.war时,这也不是问题。

但是,当尝试在另一个URL下单独托管自定义authenticationendpoint.war时,会出现问题。

WSO2 Identity Server配置有指向AuthenticationEndpoint的绝对URL:

<AuthenticationEndpointURL>http://localhost:9990/login.do</AuthenticationEndpointURL>

而且我的login.jsp的形式已更改为提交回WSO2 Identity Server的绝对URL,而不是相对URL ../commonauth。

<form action="https://localhost:9443/commonauth"...

我看到的问题是我已正确重定向到我的自定义登录页面,但是authz页面(“声明|批准|始终批准|拒绝”的声明和按钮的列表)仍然是WSO2中托管的默认页面。

我希望WSO2 Identity Server使用我所有的自定义页面,而不仅仅是login.jsp。

这些通常是

  • oauth2_authz.jsp
  • oauth2_consent.jsp
  • oauth2_error.jsp

任何人都可以建议如何完成此操作或指向有关此操作的一些文档?

阿育王

WSO2IS 5.1.0中使用IDENTITY-2977解决了此问题有了相关的变化,你可以自定义samlsso_loginoauth2_authzoauth2_erroroauth2_consent在网址中使用可用的配置web.xml文件authenticationendpoint.war有关更多详细信息,请参阅web.xml的相关部分

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在WSO2 Identity Server中启用一次注销,然后重定向到自定义登录页面

来自分类Dev

为WSO2 Identity Server部署自定义密码策略文件

来自分类Dev

为WSO2 Identity Server部署自定义密码策略文件

来自分类Dev

WSO2与Identity Server的单点登录

来自分类Dev

使用WSO2 Identity Server 5.1进行单点登录

来自分类Dev

将自定义参数传递给登录页面 Identity Server 4 中使用的 returnUrl

来自分类Dev

WSO2 Identity Server升级

来自分类Dev

如何使用Identity Server登录WSO2解决方案

来自分类Dev

使用WSO2 Identity Server的SAML2.0 SSO?

来自分类Dev

WSO2 Identity Server UserAdmin SOAP接口

来自分类Dev

WSO2 Identity Server是否支持OpenId Connect发现

来自分类Dev

基于SAML / XACML的WSO2 Identity Server访问控制

来自分类Dev

WSO2 Identity Server中的SAML请求-响应处理

来自分类Dev

使用WSO2 Identity Server的SAML2.0 SSO?

来自分类Dev

集成bonita和wso2 Identity Server

来自分类Dev

WSO2 API Manager使用Identity Server存储访问

来自分类Dev

wso2 Identity Server-无法删除租户

来自分类Dev

用于会话管理的 WSO2 Identity Server 5.0.0 Api

来自分类Dev

WSO2的Identity Server中间使用单点登录在DAS中进行失败还原

来自分类Dev

有关集成WSO2 API管理器,Identity Server和Shibboleth的建议

来自分类Dev

WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

来自分类Dev

WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

来自分类Dev

如何在WSO2 Identity Server中远程添加租户?

来自分类Dev

如何配置 WSO2 API Manager 2.1.0 以使用 Identity Server 5.4.1

来自分类Dev

WSO2 Identity Server 5.0不包括“自我注册(注册)”页面?

来自分类Dev

WSO2 Identity Server 5.0不包括“自我注册(注册)”页面?

来自分类Dev

WSO2 sh wso2server.sh -Dmigrate -Dcomponent=identity 没有运行迁移脚本

来自分类Dev

使用WSO2 Identity Server和WSO2 API Manager保护后端

来自分类Dev

Identity Server 4:如何仅为UserInfoEndpoint添加自定义声明,并将其排除在AccessToken中?

Related 相关文章

  1. 1

    在WSO2 Identity Server中启用一次注销,然后重定向到自定义登录页面

  2. 2

    为WSO2 Identity Server部署自定义密码策略文件

  3. 3

    为WSO2 Identity Server部署自定义密码策略文件

  4. 4

    WSO2与Identity Server的单点登录

  5. 5

    使用WSO2 Identity Server 5.1进行单点登录

  6. 6

    将自定义参数传递给登录页面 Identity Server 4 中使用的 returnUrl

  7. 7

    WSO2 Identity Server升级

  8. 8

    如何使用Identity Server登录WSO2解决方案

  9. 9

    使用WSO2 Identity Server的SAML2.0 SSO?

  10. 10

    WSO2 Identity Server UserAdmin SOAP接口

  11. 11

    WSO2 Identity Server是否支持OpenId Connect发现

  12. 12

    基于SAML / XACML的WSO2 Identity Server访问控制

  13. 13

    WSO2 Identity Server中的SAML请求-响应处理

  14. 14

    使用WSO2 Identity Server的SAML2.0 SSO?

  15. 15

    集成bonita和wso2 Identity Server

  16. 16

    WSO2 API Manager使用Identity Server存储访问

  17. 17

    wso2 Identity Server-无法删除租户

  18. 18

    用于会话管理的 WSO2 Identity Server 5.0.0 Api

  19. 19

    WSO2的Identity Server中间使用单点登录在DAS中进行失败还原

  20. 20

    有关集成WSO2 API管理器,Identity Server和Shibboleth的建议

  21. 21

    WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

  22. 22

    WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

  23. 23

    如何在WSO2 Identity Server中远程添加租户?

  24. 24

    如何配置 WSO2 API Manager 2.1.0 以使用 Identity Server 5.4.1

  25. 25

    WSO2 Identity Server 5.0不包括“自我注册(注册)”页面?

  26. 26

    WSO2 Identity Server 5.0不包括“自我注册(注册)”页面?

  27. 27

    WSO2 sh wso2server.sh -Dmigrate -Dcomponent=identity 没有运行迁移脚本

  28. 28

    使用WSO2 Identity Server和WSO2 API Manager保护后端

  29. 29

    Identity Server 4:如何仅为UserInfoEndpoint添加自定义声明,并将其排除在AccessToken中?

热门标签

归档