From 23c02d092e9ca7f8516a17dd9dbffc3212ffe25c Mon Sep 17 00:00:00 2001 From: ziad-halabi9 Date: Tue, 28 May 2024 14:33:51 +0100 Subject: [PATCH] Update Auth README.md Fixed TidalAuth links. --- auth/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/auth/README.md b/auth/README.md index cebb5a91..7a08b3a5 100644 --- a/auth/README.md +++ b/auth/README.md @@ -68,8 +68,7 @@ This authentication method uses `clientId` and `clientSecret`, e.g. when utilizi To implement the login redirect flow, follow these steps or refer to our [Demo app](https://github.com/tidal-music/tidal-sdk-android/tree/main/auth/apps/demo) implementation. -1. Initiate the process by initialising [Auth](./auth/src/main/kotlin/com/tidal/sdk/auth/TidalAuth. - kt). +1. Initiate the process by initialising [TidalAuth](https://github.com/tidal-music/tidal-sdk-android/blob/main/auth/src/main/kotlin/com/tidal/sdk/auth/TidalAuth.kt). 2. For the first login: * Acquire `Auth` from your `TidalAuth` instance. Call its `initializeLogin` function, which returns the login URL. Open this URL in a webview, where the user can log in using their username/password. @@ -85,8 +84,7 @@ To implement the login redirect flow, follow these steps or refer to our [Demo a For devices with limited input capabilities, such as TVs, an alternative login method is provided. Follow these steps or refer to our [Demo app](https://github.com/tidal-music/tidal-sdk-android/tree/main/auth/apps/demo) implementation. -1. Initiate the process by initialising [TidalAuth](. - /auth/src/main/kotlin/com/tidal/sdk/auth/TidalAuth.kt). +1. Initiate the process by initialising [TidalAuth](https://github.com/tidal-music/tidal-sdk-android/blob/main/auth/src/main/kotlin/com/tidal/sdk/auth/TidalAuth.kt). 2. Use `initializeDeviceLogin` and await the response. 3. The response will contain a `userCode` and a `verificationUri`; display these to the user. 4. Instruct the user to visit `link.tidal.com`, log in, and enter the displayed code.