Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

Commit

Permalink
Update install_sbbackend.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nawabahmadreshi authored Jun 27, 2018
1 parent e08956b commit 42c29a6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pages/developer-docs/installation/install_sbbackend.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ Test any API using postman, e.g. download **user API** and perform different act

From release-1.7, user creation requires channel attribute. You need to follow these instructions:

1. Create a user inside Keycloak
2. Generate JWT token using the following curl command
1.Create a user inside Keycloak
2.Generate JWT token using the following curl command
<pre>

curl -X POST
Expand All @@ -248,10 +248,12 @@ curl -X POST
-d 'client_id={client-name}&username={username}&password={password}&grant_type=password'

</pre>
3. Use this token to create the RootOrg.

3.Use this token to create the RootOrg.

**Note:** [Refer](http://www.sunbird.org/apis/orgapi/#operation/Organisation%20Create){:target="_blank"} to the create orgnization API to can create an organisation.
4. You need to set the RootOrg channel value inside environment variable with key `sunbird_default_channel`

4.You need to set the RootOrg channel value inside environment variable with key `sunbird_default_channel`

Once you are done with above step then you can start creating other users and sub organisations.

0 comments on commit 42c29a6

Please sign in to comment.