Commit Graph

531 Commits

Author SHA1 Message Date
Stan Wohlwend
72eda48c55 Unify User and ServerUser
Fix #65
2024-06-12 15:14:47 +02:00
Konsti Wohlwend
7901d87a12
Update CONTRIBUTING.md 2024-06-12 14:20:11 +02:00
Konsti Wohlwend
102da23d5e
Update CONTRIBUTING.md 2024-06-12 14:19:50 +02:00
Zai Shi
9979442949 added contributing.md 2024-06-11 11:28:56 +02:00
Zai Shi
12099d7fa1
Update README.md 2024-06-10 15:59:44 +02:00
Zai Shi
67aefdae98
Update README.md 2024-06-10 15:58:51 +02:00
Zai Shi
1b5428d5b3
Update README.md 2024-06-10 13:52:50 +02:00
Zai Shi
d6892f131b
Team Switcher UI (#71)
* added basic team switcher

* improved styling
2024-06-10 13:50:34 +02:00
Zai Shi
ca22551db8
Optimized OAuth cookies (#70)
* reduced cookie size, added state to cookie name, remove cookie after finishing oauth

* added migration file

* changed remove cookie code location

* OAuthTimeout -> OuterOAuthTimeout

* fixed types
2024-06-10 11:29:22 +02:00
Stan Wohlwend
8f181b1b26 Make ISE a common error 2024-06-09 18:26:33 +02:00
Stan Wohlwend
50b2b672eb Signout now works correctly with old cookies 2024-06-09 18:08:11 +02:00
Zai Shi
a44282239e Merge branch 'dev' of github.com:stackframe-projects/stack into dev 2024-06-09 18:02:17 +02:00
Zai Shi
6138a75932 added spotify example 2024-06-09 18:02:14 +02:00
Stan Wohlwend
ad50465ba2 chore: update package versions 2024-06-09 17:48:17 +02:00
Stan Wohlwend
41e13bc0a3 No longer allow @stackframe/<package>/src/* imports 2024-06-09 17:46:32 +02:00
Stan Wohlwend
0517c75141 Fix import 2024-06-09 17:37:07 +02:00
Stan Wohlwend
07d1169e84 chore: update package versions 2024-06-09 17:25:59 +02:00
Stan Wohlwend
ca5d0a6b90 getCrossOriginTokenObject() -> getAuthJson() 2024-06-09 17:19:05 +02:00
Stan Wohlwend
ac10cbb5c3 Improved CSR bailout error message 2024-06-09 15:50:19 +02:00
Zai Shi
99da7b8677
added posthog (#68) 2024-06-09 09:16:53 +02:00
Stan Wohlwend
3b9e54712c Improve unparsable-access-token console.warn 2024-06-08 18:53:59 +02:00
Stan Wohlwend
9cff30b440 Normal case for project card title 2024-06-08 18:52:55 +02:00
Stan Wohlwend
478fe39e32 Small improvements 2024-06-08 18:17:30 +02:00
Zai Shi
617ccbed6f
Oauth scope (#67)
* removed openid for oauth providers, switch to pure oauth flow

* restructured files

* added project id to the env keys

* fixed tooltip display bug

* improved docs links

* removed old comments

* improved oauth code structure

* removed MS tenantID

* added linking account

* added access token endpoint

* fixed prisma schema

* added store refresh token

* fixed no refresh token error

* added authorize and link types to authorize endpoint

* added adding scope

* improved oauth provider code structure

* added additional scopes to db

* fixed sessions

* fixed oauth provider select bug

* added scopes to dashboard

* added get account

* added useAccount

* added useAccessToken

* fixed type errors

* fixed bug

* added oauth link failed page

* added error page

* fixed bugs

* updated error page

* added extra scope error

* fixed additional scope

* removed test code, fixed bug

* Throw error when accessing OAuth access token with shared OAuth keys

* removed additional scopes

* added scopes on sign in

* renamed errors

* added redirect URL for the oauth provider setting

* dynamic link

* added connect wrong account error

* added migration file, fixed useConnection bug

* added after callback redirect url

* fixed types

* fixed type error

* updated migration file
2024-06-08 16:26:50 +02:00
Stan Wohlwend
e4bf35ecd9 chore: update package versions 2024-06-08 16:06:11 +02:00
Stan Wohlwend
fc30eaa743 Fix import bugs 2024-06-08 16:01:13 +02:00
Stan Wohlwend
12ad506699 chore: update package versions 2024-06-08 15:28:10 +02:00
Stan Wohlwend
1aefcf8568 Make stack-refresh cookie name depend on project ID 2024-06-08 15:12:13 +02:00
Stan Wohlwend
543eb0cefb Expose Session in library 2024-06-08 14:55:05 +02:00
Stan Wohlwend
5f5b6d65b5 chore: update package versions 2024-06-07 13:32:12 +02:00
Stan Wohlwend
31db7ecc42 Fixed changesets versions 2024-06-07 13:30:07 +02:00
Stan Wohlwend
c16c13d2b6 chore: update package versions 2024-06-07 12:41:23 +02:00
Stan Wohlwend
5287b6e1b4 Better error messages for inner OAuth flow 2024-06-07 12:10:45 +02:00
Stan Wohlwend
8f015614ba Fix type error 2024-06-07 12:04:23 +02:00
Stan Wohlwend
7938ff6439 Whitespace ESLint rules 2024-06-07 11:55:46 +02:00
Stan Wohlwend
ca7da8dff7 Fix lint errors 2024-06-06 19:23:20 +02:00
Stan Wohlwend
55776dcff4 Fix double-redirect on signout 2024-06-06 17:50:01 +02:00
Stan Wohlwend
b0f1119a31 Fix dev builds 2024-06-06 16:29:30 +02:00
Stan Wohlwend
9d5fe95119 Enable await-thenable ESLint rule 2024-06-06 13:39:05 +02:00
Stan Wohlwend
dafe0dc1fb Fix lint errors 2024-06-06 13:35:29 +02:00
Stan Wohlwend
d95696ee96 Refactor TokenStore into Session 2024-06-06 12:30:17 +02:00
Stan Wohlwend
5b3db1a7ad Better domain description 2024-06-04 19:53:57 +02:00
Stan Wohlwend
035ba57d66 Show alert when there's an error in UI components 2024-06-04 19:45:13 +02:00
Stan Wohlwend
ba8de5c8f8 More permissive TokenStoreInit typing 2024-06-04 10:45:32 +02:00
Stan Wohlwend
30b9b07dfe chore: update package versions 2024-06-03 14:33:33 +02:00
Stan Wohlwend
be01a32f80 Improve comment in maybe-full-page 2024-06-03 14:31:58 +02:00
Stan Wohlwend
14c9a202b8 Improve developer setup 2024-06-03 01:36:17 +02:00
Stan Wohlwend
2d4d5df881 Only allow pnpm 2024-06-02 21:07:30 +02:00
Stan Wohlwend
a340bf6f8a Remove todo script from stack-server 2024-06-02 21:00:22 +02:00
Stan Wohlwend
59e5c95346 Mute MaybeFullPage error 2024-06-02 20:51:45 +02:00