fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

Look up name of the app to authenticate #2

Closed icidasset closed 3 years ago

icidasset commented 4 years ago

Using the standard manifest.json. To find the path of the manifest, first fetch the html page and look for <link rel="manifest" />, the href of that element will tell us the path.

icidasset commented 3 years ago

Since 95% of the apps will pass the app name to webnative, and consequently to the auth lobby, we can use that variable and don't have to do the manifest lookup.