Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chris L <[email protected]>
  • Loading branch information
Zelzahn and elroyK authored Jul 25, 2024
1 parent 94794f4 commit bf132fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deliverables/loama/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ title: Development

- [:test_tube: Code repository](https://github.com/osoc24/loama/tree/root/loama)

Initially, the idea was to use Nuxt, as it has loads of functionality built in, together with the [@inrupt/solid-client-authn-browser](https://www.npmjs.com/package/@inrupt/solid-client-authn-browser) pacakage. But, as this package has hardcoded usage of the `window` variable, it quickly became apparent that this library had to be used in the client-side. Thus, the switch from Nuxt to Vue was made.
Initially, the idea was to use Nuxt, as it has loads of functionality built in, together with the [@inrupt/solid-client-authn-browser](https://www.npmjs.com/package/@inrupt/solid-client-authn-browser) package. But, as this package has hardcoded usage of the `window` variable, it quickly became apparent that this library had to be used client-side. Thus, the switch from Nuxt to Vue was made.

Besides Vue, Vue Router is also used, and the convention is to use TypeScript and the Composition API. For the authorization, [the controller](/deliverables/controller) is used.

## IDP Provider

Authentication works by providing the URL to the pod provider. To ease the experience a default URL is used, this is specified in the `.env` and used in `components/LoginForm.vue`. An example can be found in `.env.example`.
Authentication works by providing the URL to the pod provider. To ease the experience a default URL is specified in the `.env` and used in `components/LoginForm.vue`. An example can be found in `.env.example`.

## How to run

Expand Down

0 comments on commit bf132fb

Please sign in to comment.