Skip to content

mphuie/svelte-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svelte-keycloak app

This the base svelte template integrated with keycloak (open source identity and access management)

config

npm install

configured keycloak client (protocol: openid-connect, access type: public )

update your keycloak client redirect URIs and Web origins to http://localhost:5000/* and http://localhost:5000/
   
save keycloak.json to /public (get json contents from your keycloak admin console.  client -> installation tab -> Keycloak OIDC json)

run dev server

npm run dev

(see svelte starter template docs for more options)

JWT token

the jwt token from keycloak is stored in the userInfo store under token.

your backend should validate this, either by consuming the /protocol/openid-connect/certs endpoint or storing the public key/cert from keycloak.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published