Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Amazon Cognito provides authentication, authorization, and user management for web and mobile apps. Users can sign in directly with a user name and password, or through a third party such as Facebook, Amazon, Google or Apple.

The two main components of Amazon Cognito are user pools and identity pools:

  1. A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito, or federate through a third-party identity provider (IdP).

  2. With an identity pool, your users can obtain temporary AWS credentials to access AWS services, such as Amazon S3 and DynamoDB.

ModelOp Center Requirements

Following the OAuth 2.0 standard, ModelOp Center requires the following Amazon Cognito configurations when used with OAuth 2.0for a successful integration:

  1. User pool

  2. Resource server:

    1. rs/modelop_client

  3. App clients:

    1. gateway-service

    2. internal-client

    3. external-integration-client

App Name

App Type

Client Secret Required

Authentication Flows

Allowed
Callback URLs

OAuth 2.0 Grant Types

OpenID Connect Scopes

Custom Scopes

gateway-service

Confidential

Client


client

✔️

  • Default
    selection*

  • <MOC URL>/login/oauth2/code/gateway-service

Authorization

Code


code grant

  • email

  • openid

  • profile

internal-client

Confidential
client

✔️

  • Default
    selection

  • ALLOW_USER_PASSWORD_AUTH

Client
credentials

  • rs/modelop_client

external-integration-client

Public
client

  • Default
    selection

  • <MOC URL>/jupyterOauth2ImplicitGrant.html

  • <MOC URL>/modelOpWDC.html

  • https://oauth.powerbi.com/views/oauthredirect.html

Implicit
grant

  • email

  • openid

  • profile

*Default selection includes the following authentication flows:

  • ALLOW_REFRESH_TOKEN_AUTH

  • ALLOW_CUSTOM_AUTH

  • ALLOW_USER_SRP_AUTH

Amazon Cognito Guide

For detailed instructions on how to setup Amazon Cognito with the required configurations, please follow the Amazon Cognito: How to create a user pool, resource server and app clients guide.