Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logout scope option #220

Merged
merged 4 commits into from
Jul 6, 2023
Merged

Add logout scope option #220

merged 4 commits into from
Jul 6, 2023

Conversation

jan-tennert
Copy link
Collaborator

What kind of change does this PR introduce?

Feature

What is the current behavior?

You can only log out your current session

What is the new behavior?

You can now log out all sessions (LogoutScope.GLOBAL) or every session excluding yours (LogoutScope.OTHERS). Defaults to (LogoutScope.LOCAL)

Additional context

See supabase/auth-js#713

Signed-off-by: TheRealJan <[email protected]>
@jan-tennert jan-tennert added enhancement New feature or request auth core labels Jul 6, 2023
@jan-tennert jan-tennert self-assigned this Jul 6, 2023
@jan-tennert jan-tennert merged commit d482709 into development Jul 6, 2023
9 checks passed
@jan-tennert jan-tennert deleted the logout-scope branch July 6, 2023 17:23
jan-tennert added a commit that referenced this pull request Jul 25, 2023
* Add support for nodejs

Signed-off-by: TheRealJan <[email protected]>

* Fix GoTrue & Storage

Signed-off-by: TheRealJan <[email protected]>

* Bump com.soywiz.korlibs.krypto:krypto from 4.0.6 to 4.0.7

Bumps [com.soywiz.korlibs.krypto:krypto](https://github.com/korlibs/korge-next) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/korlibs/korge-next/releases)
- [Commits](https://github.com/korlibs/korge-next/commits)

---
updated-dependencies:
- dependency-name: com.soywiz.korlibs.krypto:krypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump com.vanniktech.maven.publish from 0.25.2 to 0.25.3

Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/vanniktech/gradle-maven-publish-plugin/releases)
- [Changelog](https://github.com/vanniktech/gradle-maven-publish-plugin/blob/main/CHANGELOG.md)
- [Commits](vanniktech/gradle-maven-publish-plugin@0.25.2...0.25.3)

---
updated-dependencies:
- dependency-name: com.vanniktech.maven.publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add tvos & watchos targets

Signed-off-by: TheRealJan <[email protected]>

* Fix GoTrue

Signed-off-by: TheRealJan <[email protected]>

* Add watchos & tvos tests

Signed-off-by: TheRealJan <[email protected]>

* Remove watchosX64

Signed-off-by: TheRealJan <[email protected]>

* Update Kotlin to 1.9.0 (#214)

* Update kotlin to 1.9.0-RC

Signed-off-by: TheRealJan <[email protected]>

* Fix tests

Signed-off-by: TheRealJan <[email protected]>

* Add yarn.lock to caches

Signed-off-by: TheRealJan <[email protected]>

* Update yarn.lock

* Remove change regarding caching

Signed-off-by: TheRealJan <[email protected]>

* Update kotlin

Signed-off-by: TheRealJan <[email protected]>

---------

Signed-off-by: TheRealJan <[email protected]>

* Update version

Signed-off-by: TheRealJan <[email protected]>

* Remove deprecated methods

Signed-off-by: TheRealJan <[email protected]>

* Add kakao OAuthProvider

Signed-off-by: TheRealJan <[email protected]>

* Add Figma OAuthProvider

Signed-off-by: TheRealJan <[email protected]>

* Use gradle configuration cache

Signed-off-by: TheRealJan <[email protected]>

* Add configuration cache to github cache

Signed-off-by: TheRealJan <[email protected]>

* Add logout scope option (#220)

* Add logout scope parameter

Signed-off-by: TheRealJan <[email protected]>

* Delete code verifier on logout

Signed-off-by: TheRealJan <[email protected]>

* Fix tests

Signed-off-by: TheRealJan <[email protected]>

---------

Signed-off-by: TheRealJan <[email protected]>

* Change IDToken properties (#221)

Signed-off-by: TheRealJan <[email protected]>

* Update gradle.properties

* Remove configuration cache for now

Signed-off-by: TheRealJan <[email protected]>

* Update gradle.properties

* Bump com.soywiz.korlibs.krypto:krypto from 4.0.6 to 4.0.8 (#224)

Bumps [com.soywiz.korlibs.krypto:krypto](https://github.com/korlibs/korge-next) from 4.0.6 to 4.0.8.
- [Release notes](https://github.com/korlibs/korge-next/releases)
- [Commits](https://github.com/korlibs/korge-next/commits)

---
updated-dependencies:
- dependency-name: com.soywiz.korlibs.krypto:krypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Tennert <[email protected]>

* Bump com.vanniktech.maven.publish from 0.25.2 to 0.25.3 (#225)

Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/vanniktech/gradle-maven-publish-plugin/releases)
- [Changelog](https://github.com/vanniktech/gradle-maven-publish-plugin/blob/main/CHANGELOG.md)
- [Commits](vanniktech/gradle-maven-publish-plugin@0.25.2...0.25.3)

---
updated-dependencies:
- dependency-name: com.vanniktech.maven.publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add supabase key as fallback for Realtime

Signed-off-by: TheRealJan <[email protected]>

* Update README with new platform support details

The README file has been updated to include recent additions to the platform support. NodeJS has been included in the JS module, and tvOS and watchOS have been added to the list of modules. This provides a clear and updated overview of platform compatibility for users.

Signed-off-by: TheRealJan <[email protected]>

* Update support status in README

Signed-off-by: TheRealJan <[email protected]>

* Update support status in README

Signed-off-by: TheRealJan <[email protected]>

* Update version

Signed-off-by: TheRealJan <[email protected]>

* Enable parallel build

Signed-off-by: TheRealJan <[email protected]>

* Update build files

Signed-off-by: TheRealJan <[email protected]>

* Update GraphQL

Signed-off-by: TheRealJan <[email protected]>

* Improve GraphQL code

Signed-off-by: TheRealJan <[email protected]>

* Use atomic value instead of a map for Memory based caches storing only one value

Signed-off-by: TheRealJan <[email protected]>

* Fix tests

Signed-off-by: TheRealJan <[email protected]>

* Fix yarn lock

Signed-off-by: TheRealJan <[email protected]>

* Fix Columns#type function

Signed-off-by: TheRealJan <[email protected]>

* Update yarn lock

Signed-off-by: TheRealJan <[email protected]>

* Update Columns.kt

* Allow overriding the whole request in a EdgeFunction

Signed-off-by: TheRealJan <[email protected]>

* Update version

Signed-off-by: TheRealJan <[email protected]>

* Update gradle.properties

* Update gradle.properties

* Bump com.vanniktech.maven.publish from 0.25.2 to 0.25.3 (#231)

Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/vanniktech/gradle-maven-publish-plugin/releases)
- [Changelog](https://github.com/vanniktech/gradle-maven-publish-plugin/blob/main/CHANGELOG.md)
- [Commits](vanniktech/gradle-maven-publish-plugin@0.25.2...0.25.3)

---
updated-dependencies:
- dependency-name: com.vanniktech.maven.publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump com.soywiz.korlibs.krypto:krypto from 4.0.6 to 4.0.9 (#230)

Bumps [com.soywiz.korlibs.krypto:krypto](https://github.com/korlibs/korge-next) from 4.0.6 to 4.0.9.
- [Release notes](https://github.com/korlibs/korge-next/releases)
- [Commits](https://github.com/korlibs/korge-next/commits)

---
updated-dependencies:
- dependency-name: com.soywiz.korlibs.krypto:krypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Tennert <[email protected]>

* Bump com.vanniktech.maven.publish from 0.25.2 to 0.25.3 (#237)

Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/vanniktech/gradle-maven-publish-plugin/releases)
- [Changelog](https://github.com/vanniktech/gradle-maven-publish-plugin/blob/main/CHANGELOG.md)
- [Commits](vanniktech/gradle-maven-publish-plugin@0.25.2...0.25.3)

---
updated-dependencies:
- dependency-name: com.vanniktech.maven.publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: TheRealJan <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth core enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant