Skip to main content

FIS Authentication

Some requests must be authenticated with an access token from FIS. To do so, you must have valid credentials for the institution handling the authentication requests.

When working with the DRM SDK, a configuration file must be set containing the required parameters regarding the institution's authentication parameters.

When working with the DRM CLI, the required parameters must be specified in the command.

When these parameters are correctly set, an interceptor will be added to each gRPC request made through the DRM SDK or CLI.

Obtaining an Access Token with the CLI

The following command will create an authentication code request, which must be used to login through a web browser.

Response

Log in at https://login-uat.fisglobal.com/idp/examplebank/verifyUserCode.html?scope=openid
Your verification code is Ij996zHY

Upon successful login, the CLI command will complete. The access token will be stored and added to future requests.

If the --std-out flag is specified, the access token will be printed directly to the console.

Setting Up Authentication Config with the SDK

Dart

The Dart SDK should be set up with the following YAML configuration, named oauth_config.yaml at the same directory level as the SDK.

Rust

The Rust SDK should be set up with the following TOML configuration, named config.toml at the same directory level as the SDK.

TypeScript

The TypeScript SDK client offers the option to directly pass an access token to its constructor. You can obtain this access token using any preferred method.