ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core...

15
Copyright © ComponentSpace Pty Ltd 2017-2020. All rights reserved. www.componentspace.com ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

Transcript of ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core...

Page 1: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

Copyright © ComponentSpace Pty Ltd 2017-2020. All rights reserved. www.componentspace.com

ComponentSpace

SAML for ASP.NET Core

Google

Identity Provider

Integration Guide

Page 2: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

i

Contents Introduction ............................................................................................................................................ 1

Adding a SAML Application ..................................................................................................................... 1

Service Provider Configuration ............................................................................................................... 8

SP-Initiated SSO....................................................................................................................................... 8

IdP-Initiated SSO ................................................................................................................................... 11

SAML Logout ......................................................................................................................................... 13

Page 3: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

1

Introduction This document describes integration with Google G Suite as the identity provider.

For information on configuring Google G Suite for SAML SSO, refer to the following articles.

https://support.google.com/a/answer/6087519

https://support.google.com/a/answer/2463723

Adding a SAML Application Log into Google as an administrator.

https://admin.google.com/

Select Apps.

Select SAML apps.

Page 4: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

2

Click Add a service/app to your domain.

Select Setup My Own Custom App.

Page 5: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

3

Download the IdP metadata. This is used to configure the service provider.

Page 6: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

4

Specify the application name. This is for display purposes only.

Page 7: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

5

Specify the service provider details.

The assertion consumer service URL is where the SAML response is received.

For example:

https://localhost:44360/SAML/AssertionConsumerService

The entity ID is the service provider name.

For example:

https://ExampleServiceProvider

Page 8: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

6

Attribute mappings may be specified if required.

Page 9: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

7

Ensure the application is turned on for everyone.

Page 10: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

8

Service Provider Configuration The following partner identity provider configuration is included in the example service provider’s

SAML configuration.

{ "Name": "https://accounts.google.com/o/saml2?idpid=C03kl4l11", "Description": "Google G Suite", "SingleSignOnServiceUrl": "https://accounts.google.com/o/saml2/idp?idpid=C03kl4l11", "PartnerCertificates": [ { "FileName": "certificates/google.cer" } ] }

Ensure the PartnerName specifies the correct partner identity provider.

"PartnerName": "https://accounts.google.com/o/saml2?idpid=C03kl4l11"

SP-Initiated SSO Browse to the example service provider and click the button to SSO to the identity provider.

Page 11: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

9

Log into Google.

Page 12: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

10

The user is automatically logged in at the service provider.

Page 13: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

11

IdP-Initiated SSO Browse to Google G Suite and login.

For example:

https://gsuite.google.com/

Click the Apps button and More to show more applications.

Select the example service provider.

Page 14: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

12

The user is automatically logged in at the service provider.

Page 15: ComponentSpace SAML for ASP.NET Core Google Identity ... · ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide 1 Introduction This document describes

ComponentSpace SAML for ASP.NET Core Google Identity Provider Integration Guide

13

SAML Logout Google doesn’t support SAML logout.