> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# AuthenticationFlow

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-spi/src/errors/index.ts

Implementation of different backends MAY indicate through this structure where to redirect the browser in order to start authentication flow.

**Signature:**

```typescript
export type AuthenticationFlow = {
    loginUrl: string;
    returnRedirectParam: string;
};
```

## Remarks

The `returnRedirectParam` is the name of the query parameter that the application should set when redirecting. The value of the query parameter is the return URL where the browser should return after successful authentication.
