importKey is not a function

I am trying to get the community pod server up and running. It seems to be set up correctly, but when I log in to other apps with my webId, I get the following error in the console.

TypeError: i.normalize(…).importKey is not a function

Can anyone point me in the right direction?


Which apps are you logging in with? Which console do you get the error in? (Your server’s logs, or your browser console when using an app?)

Hey, sorry for the lack of information.

The steps to replicate:

  1. I go to
  2. I click log in
  3. I am redirected to /popup.html
  4. I see a web console error / 404
  5. I enter my WebID and hit Go
  6. Nothing happens on the frontend view
  7. The web console reports the following:
Error logging in with WebID-OIDC @	popup.html:24
await in et (async)		
login	@	popup.html:24
(anonymous)	@	popup.html:24
await in (anonymous) (async)		
E	@	popup.html:24

followed by another error

popup.html:24 TypeError: i.normalize(...).importKey is not a function
    at Function.value (popup.html:24:7658)
    at Function.value (popup.html:24:43396)
    at popup.html:24:82573
    at (<anonymous>)
    at Function.value (popup.html:24:82548)
    at popup.html:24:10410
    at async popup.html:24:122652
    at async et (popup.html:24:122520)
    at async Object.<anonymous> (popup.html:24:128819)
  1. The server receives the following requests
GET /.well-known/openid-configuration 200
GET /.oidc/jwks

Ah! Wow, I don’t know where you found that app, but that’s a pretty old and unmaintained one :sweat_smile: Unfortunately, there have been breaking changes in the Solid specifications that resulted in many apps no longer working with recent servers, among which this app. If you just want to verify that your server works, you could try a more maintained app, such as Media Kraken or Penny.

ah! strange, the Penny app seems to work perfectly.
Perhaps many of the apps found at Solid Applications · Solid are now outdated, many of them produce the same error.

Thanks for your help. Now to develop something cool!

Yeah, unfortunately they are… @jaxoncreed is working on a cleanup.

1 Like