diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..bf33140 --- /dev/null +++ b/.env.example @@ -0,0 +1,16 @@ +# Authentication route +OAUTH2__AUTHENTICATE= +# Logout route +OAUTH2__LOGOUT= +# Token route +OAUTH2__GET_TOKEN= + +# Client id +OAUTH2__CLIENT_ID= +# Client secret +OAUTH2__CLIENT_SECRET= + +# Userinfo route +USERINFO__ROUTE= +# Identifier +USERINFO__IDENTIFIER= \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index fce8e8c..cde59eb 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/lib/index.ts b/src/lib/index.ts index 856f2b6..5893a83 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1 +1,3 @@ -// place files you want to import through the `$lib` alias in this folder. +export function userAuthorize() { + +} \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index faf8f75..e1fd901 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,6 @@ - @@ -8,12 +9,34 @@