# Solid login in chrome extension

**URL:** <https://forum.solidproject.org/t/solid-login-in-chrome-extension/3693>\
**Category:** General Discussion\
**Created:** [December 29, 2020, 5:05pm UTC](https://forum.solidproject.org/t/solid-login-in-chrome-extension/3693 "2020-12-29T17:05:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aveltens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/aveltens/32/3987_2.png) [@aveltens](https://forum.solidproject.org/u/aveltens)\
**Post date:** [April 5, 2022, 6:05pm UTC](https://forum.solidproject.org/t/solid-login-in-chrome-extension/3693/4 "2022-04-05T18:05:36Z")

</div>

In the latest version of [WebClip](https://chrome.google.com/webstore/detail/webclip-clip-all-the-thin/mfgjcggbpdkbnnpgllaicoeplfgkfnkj), we manged to extend inrupt’s solid-authn-client-js to work based on `chrome.identity.launchWebAuthFlow`

All the code is [in a dedicated module](https://github.com/codecentric/web-clip/tree/main/src/solid-client-authn-chrome-ext), so feel free to investigate. Perhaps it will become a library on it’s own one day.

Basically we introduced a custom redirector, the [CromeExtensionRedirector](https://github.com/codecentric/web-clip/blob/main/src/solid-client-authn-chrome-ext/ChromeExtensionRedirector.ts) that does the trick. All the other is mostly code boilerplate, to get it hooked up. This could be improved, if the inrupt library gets more customizable.

---

_[View the full topic](https://forum.solidproject.org/t/solid-login-in-chrome-extension/3693)._
