Solid Experiments

The Life and Code of ewingson

Skip to content
  • Home
  • Digital
    • #solid
    • exercises
    • experiments
    • netz
    • programming
  • Analog
    • analog
    • forum
    • life
    • music
    • sport
    • trustbeliefloverespect
    • useless stuff
  • Social
    • experienced involvement
    • biotop
    • food
    • health
    • local
    • psychosocial bullshit
  • Literatur
    • bernie
    • herr der gezeiten
    • literatur
    • stimmenrausch
    • windmühlenfieber
    • wort zum dienstag
  • Rest
    • der ganze rest
    • financial
    • mind
    • nature
    • official
    • san francisco
    • Uncategorized
    • universal
  • about
Search

#oidc

this…

September 30, 2026September 30, 2026 / configedit / Leave a comment

… does do the actual login

function getLoginUrl() {
const url = prompt('Introduce your Solid login url (this is your pod-provider or idp)');
if (!url) return null;
const loginUrl = new URL(url);
loginUrl.hash = '';
loginUrl.pathname = '';
return loginUrl.href;
}
function doit (...) {
loginButton.onclick = () => {
SOLID_OIDC_ISSUER = getLoginUrl();
if (!SOLID_OIDC_ISSUER) return;
solidClientAuthentication.login({
oidcIssuer: SOLID_OIDC_ISSUER,
redirectUrl: window.location.href,
clientName: 'Solid Note App'
});
};
}

that’s it.

Blog at WordPress.com.
  • Subscribe Subscribed
    Solid Experiments

    Have a WordPress.com account? Log in now.

  • Solid Experiments
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar