如何从 SSO 登录获取用户的名字和姓氏?

发布于 2024-10-05 03:23:46 字数 112 浏览 0 评论 0原文

我正在使用 Oracle SSO 服务器对 APEX 应用程序的用户进行身份验证。我希望在我的应用程序上显示用户的名字和姓氏,我不想向用户询问此信息。如何从 SSO 服务器获取此信息?我必须读取cookie吗?

I am using a Oracle SSO server to authenticate users of my APEX app. I wish to display user's first name and last name on my app, I don't want to ask the users for this info. How can I get this info from SSO server ? Do I have to read cookies?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

满天都是小星星 2024-10-12 03:23:46

使用 SSO 时,此信息通常通过自定义标头传递到您的应用程序。您应该能够配置 SSO 提供程序以通过标头将用户名传递回您的应用程序,并且应用程序的客户端应该有一个 API 用于从那里撤回用户名。

When using SSO, this information is typically passed in to your application through a custom header. You should be able to configure the SSO provider to pass the user name back to your application through the header, and the client side of your application should have an API for withdrawing it from there.

拥有 2024-10-12 03:23:46

这取决于您的身份提供商 (IP) 的配置方式 - 在我们的示例中,传递到我们的应用程序的加密工件(在我们的示例中通过 cookie,但可以在查询字符串中传递或发布到您的应用程序)包含有关已记录的信息在我们的 IP 已配置为发送给我们的用户中。

It depends how your Identity Provider (IP) is configured - in our case, the encrypted artifact passed to our application (via a cookie in our case, but could be passed in the querystring or posted to your app) contains the information about the logged in user that our IP has configured to send to us.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文