-
Use the Auth Context to create protected pages. Those would be pages that only if the logged in user has that particulat role could access. Example user with role admin could visit the admin-dashbo…
-
Similar to Leptos it would be great if there was a way to put `Route`s behind a condition. If the condition (based on a simple function that can use all the same hooks as Elements) isn't true, the…
-
-
I have a user model defined as:
```ts
export class User extends Model {
protected table: string = "users";
protected primaryKey: string = "id";
id!: string;
name!: string;
…
-
How would one use `has()`, `protect()`, and `` with clerk-sveltekit?
It's not yet implemented if I'm correct?
Here's a link to Clerks Blog post about it: https://clerk.com/blog/introducing-autho…
-
Hey guys can I use protected routes? I want to add login page and after authorization I want to have protected routes
-
- write signJWT, verifyJWT functions
- write validatePermissions function
- break routes into protected and unprotected routes
- adjust router logic to pass request through jwt flow or process route
-
### Current behavior
I have an authentication flow pretty similar to the one described in the [documentation](https://reactnavigation.org/docs/auth-flow). A loading screen, an authentication flow and…
-
Must add protected routes
-