Skip to content

Commit

Permalink
removed bold
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiral-Memory committed Jul 4, 2024
1 parent 1498ea0 commit 341b614
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/react/docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ Certainly! Here are the instructions to enable OAuth login in the EmbeddedChat R

#### Steps to Enable OAuth Login in EmbeddedChat RC App

1. **Copy Callback URL**:
1. Copy Callback URL:
Navigate to the settings of your EmbeddedChat RC app. Locate the Callback URL and copy it.

2. **Configure Third-Party Login**:
2. Configure Third-Party Login:
Access your Rocket.Chat workspace. Navigate to the Third-Party Login settings. Click on New Application, provide a suitable name, and paste the copied Callback URL. Obtain the client ID and secret for this application, then activate it.

3. **Update EmbeddedChat RC App Settings**:
3. Update EmbeddedChat RC App Settings:
Return to the settings of your EmbeddedChat RC app. Paste the obtained client ID and secret into the respective fields. Save the updated settings.

4. **Creating Custom OAuth:**
4. Creating Custom OAuth:
Navigate to Workspace Settings > OAuth within your Rocket.Chat workspace. Here, create a new custom OAuth configuration with a suitable name, and configure it as follows:

- URL: http://your-rocket-chat-server-url/api/v1
Expand All @@ -96,10 +96,10 @@ Certainly! Here are the instructions to enable OAuth login in the EmbeddedChat R
- Enable: Merge Users and Merge users from distinct services.
- Disable: Show Button on Login Page.

5. **Finalize EmbeddedChat RC App Configuration**:
5. Finalize EmbeddedChat RC App Configuration:
Go back to the settings of your EmbeddedChat RC app. Enter the lowercase name of your custom OAuth configuration. Save the settings to apply the OAuth integration.

6. **Enable OAuth Login for Users**:
6. Enable OAuth Login for Users:
By default, only administrators can use OAuth login. To enable OAuth login for all users, navigate to Workspace > Permissions, search for manage OAuth apps permission, and grant it to the desired user roles.

Following these steps will successfully enable OAuth login in the EmbeddedChat RC app, integrating it with your Rocket.Chat workspace for streamlined user authentication.
Expand Down

0 comments on commit 341b614

Please sign in to comment.