立即与支持人员聊天
与支持团队交流

Cloud Access Manager 8.1 - How To Configure Single Sign-On for Native Android Apps

Dell™ One Identity Cloud Access Manager 8.1 - How to Configure Single Sign-On for Native Android Applications

Overview

Using the OpenID® Connect protocol, the Android™ application authenticates the user against Dell™ One Identity Cloud Access Manager and retrieves a set of three security tokens, as shown in Figure 1. The security tokens are known as the ID Token, Refresh Token and Access Token.

Application walkthrough

The sample Android™ application contains a package called openidconnect which can be used in a standard Android™ project to authenticate users, using the OpenID® Connect Code Flow.
The sample Web API contains a .NET Open Web Interface (OWIN) middleware called CAMBearerTokenAuthentication which can be used in a standard .NET Web API project to authenticate the Android™ application, using the Access Tokens obtained from Dell™ One Identity Cloud Access Manager.
The standard Authorize attribute can be used on the Web APIs to restrict access. The Authorize attribute supports restrictions based on role and user claims which, by default, map to the claim names role and preferred_username.
To utilize other claims, a custom AuthorizeAttribute can be created. For example:

Cloud Access Manager configuration

1
Make sure that the settings on the OpenID Connect / OAuth 2.0 Settings page are as shown below:
2
Make sure that the settings on the Token Settings page are as shown below:
3
Make sure that the settings on the Claim Mapping page are as shown below:
自助服务工具
知识库
通知和警报
产品支持
下载软件
技术说明文件
用户论坛
视频教程
RSS订阅源
联系我们
获得许可 帮助
技术支持
查看全部
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级