Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii authored Nov 2, 2023
1 parent 7d35c2b commit 4d05e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

4. Portal frontend will be responsible for setting up the token in browser cookies. For setting token manually:

i: Create an access token first through portal backend using `http://localhost:8000/docs#/Authentication/create_access_token_auth_create_access_token_post`. You can adjust the `type` in body to be `user`.
i: Create an access token first through portal backend using `http://localhost:8000/docs#/Authentication/create_access_token_auth_create_access_token_post`. You can adjust the `type` in body to be `organization`.

ii: Once the access token is generated, you need to set it in the browser cookies [Note: Since cookies are subject to the same-origin policy so try to set in the `localhost:3000` only, otherwise you need to make changes in the portal-frontend such that they could share their resource with other domains if token generation is done from frontend]

Expand Down

0 comments on commit 4d05e3e

Please sign in to comment.