Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Remove adding role claim to SAML attributes (#260)
Browse files Browse the repository at this point in the history
This commit removes the details for setting up a role attribute.
This step is no longer required as a change to Azure now

1. sends through the populated user.assignedroles against the http://schemas.microsoft.com/ws/2008/06/identity/claims/role claim
2. disallows a user from configuring an attribute with a known claim type offered by the Federation Metadata.

Closes #259

(cherry picked from commit efba4c4)
  • Loading branch information
russcam committed Feb 12, 2019
1 parent bb56207 commit 5456f0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions docs/azure-arm-template.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1135,19 +1135,8 @@ upon successful authentication

image:images/saml_token_attributes.png[]

Add the `role` attribute to the User attributes using the Add Attribute section

image:images/saml_token_add_attribute.png[]

with the following details

[horizontal]
Name:: `role`
Mapping:: `user.assignedroles`
Namespace:: `http://schemas.microsoft.com/ws/2008/06/identity/claims`

Now, the role(s) assigned to a user within the Enterprise application will be
sent in the SAML token, in the SAML `role` claim.
You can add here any additional attributes that you wish to be included as
claims in the SAML token returned after successful authentication.

[[application-manifest]]
===== Application manifest
Expand Down Expand Up @@ -1221,10 +1210,11 @@ Elasticsearch, for example, the `superuser` role, etc. Each role needs a unique
After adding the necessary roles, save the manifest.

[[assign-users-to-enterprise-application]]
===== Assign users to Enterprise application
===== Assign users and groups to Enterprise application

Now that the Enterprise application roles are configured, users within AAD can be granted
access to the Enterprise application and be assigned one of the application roles
Now that the Enterprise application roles are configured, users and groups within
AAD can be granted access to the Enterprise application and be assigned one of
the application roles

image:images/add_user_to_role.png[]

Expand Down
Binary file removed docs/images/saml_token_add_attribute.png
Binary file not shown.

0 comments on commit 5456f0d

Please sign in to comment.