Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/avantifellows/gurukul into …
Browse files Browse the repository at this point in the history
…feature/reports-page
  • Loading branch information
Bahugunajii committed Nov 6, 2023
2 parents 968652a + 39ea6e5 commit 7f79c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on:
pull_request:
push:
branches:
- main
Expand Down
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 7f79c50

Please sign in to comment.