Skip to content

Commit

Permalink
docs: Fix some grammer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Feanil Patel authored and ormsbee committed Jul 30, 2024
1 parent 0dc0e34 commit 01defb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/decisions/0015-serving-static-assets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Asset requests may return a 403 error if the user is logged in but not authorize
There will be a new endpoint exposed in LMS/Studio that will force a redirect and login to the asset server. Pages that make use of assets will be expected to load that endpoint in their ``<head>`` before any page assets are loaded. The flow would go like this:

#. There is a ``<script>`` tag that points to a new check-login endpoint in LMS/Studio, causing the browser to load and execute it before images are loaded.
#. This LMS/Studio endpoint generates a random token, stores user information its backend cache based on that token, and redirects the user to an asset server login endpoint using that token as a querystring parameter.
#. This LMS/Studio endpoint generates a random token, stores user information in its backend cache based on that token, and redirects the user to an asset server login endpoint using that token as a querystring parameter.
#. The asset server endpoint checks the cache with that token for the relevant user information, logs that user in, and removes the cache entry. It has access to the cache because it's still proxying to the same LMS/Studio process underneath–it's just being called from a different domain.

Masquerading
Expand Down

0 comments on commit 01defb1

Please sign in to comment.