# Accounts & SSO: One Quran Gallery account across every app

Source: https://qurangallery.com/docs/accounts/single-sign-on

> Sign in once and every Quran Gallery app knows you: reader, Listen, Madrasah, Adhkar, Prayer, chat. Sign out in one app and you are out everywhere.

Quran Gallery is built as a **suite of apps** that all share one identity. When you sign in at **accounts.qurangallery.com**, the session that's created works on every other app on `qurangallery.com` — no second sign-in required. Sign out from one app, and you're signed out everywhere.

This page explains, in plain terms, what that means for you as a user.

## The apps that share your sign-in

Every URL under `qurangallery.com` shares the same session:

- **qurangallery.com** — the home suite
- **qurangallery.com/quran** — the Quran reader
- **qurangallery.com/madrasah** — learn, memorise and teach
- **qurangallery.com/prayer** — prayer times and the Hijri calendar
- **qurangallery.com/chat** — the AI assistant
- **qurangallery.com/studio** — the design studio
- **qurangallery.com/listen** — the listening library
- **qurangallery.com/adhkar** — daily remembrances
- **qurangallery.com/rijal**, **/blog**, **/docs**, **/folio** — public read surfaces

And the dedicated subdomain:

- **accounts.qurangallery.com** — sign-in, settings, developers

## What happens when you click "sign in" inside an app

If you visit, say, the Quran reader without being signed in and click an action that needs you to be signed in, here's what happens behind the scenes:

1. The reader sees you don't have a Quran Gallery session.
2. It redirects you to **accounts.qurangallery.com** with a `?redirect=...` parameter pointing back to where you started.
3. You sign in by your usual method.
4. The accounts app sets a session cookie that's valid for the **entire `.qurangallery.com` domain**, then sends you back to where the redirect parameter pointed.
5. The Quran reader sees the session cookie and recognises you.

You don't need to know any of this — it just happens. The visible part is "I clicked Bookmark, I had to sign in, and now I'm back where I was."

## What about signing out?

Click your profile picture in the topbar of **any** app and choose **Sign out**. Quran Gallery deletes the session in the database and clears the cookie. The next request from any other app no longer has a valid session, so they all act as if you'd never signed in. There's no way to be "signed in to the chat but not the reader."

If you want to keep your other devices signed in but sign out only one of them, use [Active sessions](https://qurangallery.com/docs/accounts/active-sessions) instead.

## "Continue with Google"

Google is purely an identity provider — we use it to verify it's you, not to read your Gmail or Drive. You can scope the connection on Google's "Your Account → Security → Third-party apps" page if you want to see what's connected.

You can disconnect Google at any time. Your Quran Gallery account stays intact; you just lose the ability to sign in via Google until you reconnect.

## Working with shared devices

Two ways to keep things tidy on a device you share:

- **Sign out** when you're done. Sign-out works across the whole suite in one click.
- **Use a private/incognito window** for your Quran Gallery session. The session cookie is wiped when you close the window.

If you forgot to sign out from a shared device, you can sign that session out remotely — see [Active sessions](https://qurangallery.com/docs/accounts/active-sessions).

## Multiple Quran Gallery accounts in one browser

The session cookie is set on `.qurangallery.com`, so within one browser profile, you can only be signed in as **one** Quran Gallery user at a time. To use two accounts side by side, the easiest options are:

- Two different browsers (Safari + Chrome, etc.).
- Two browser profiles in the same browser.
- A private/incognito window for the second account.

## Next steps

- [Open Quran Gallery account](https://accounts.qurangallery.com)
- [See and sign out your active devices](https://qurangallery.com/docs/accounts/active-sessions)
- [API keys (Developers page)](https://qurangallery.com/docs/accounts/api-keys)
- [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview)
