Skip to content
Closed
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
b1933c0
Fix possible args too long issue
edw-defang Apr 23, 2024
e2af697
fix migration command for AMD runner
lionello Apr 23, 2024
806231a
remove unused dockerHubToken
lionello Apr 23, 2024
572e169
Merge branch 'main' into edw-fix-long-arg
edwardrf Apr 23, 2024
2b51ae9
Merge pull request #50 from defang-io/edw-fix-long-arg
lionello Apr 23, 2024
5f6db97
Merge pull request #51 from defang-io/lio-rm-dockerHubToken
lionello Apr 24, 2024
23069d4
log fixes, kratos session extension, single login page
raphaeltm Apr 24, 2024
f701602
logs component updates
raphaeltm Apr 24, 2024
6958033
environment vars
raphaeltm Apr 24, 2024
78009f0
Merge pull request #53 from defang-io/portal-fixes
raphaeltm Apr 24, 2024
29b5049
add suspense boundaries
raphaeltm Apr 24, 2024
efeddc4
Merge branch 'main' of github.com:defang-io/portal
raphaeltm Apr 24, 2024
88b5f9e
change Secret to Sensitive
lionello Apr 25, 2024
8ad43c8
updated protobuffs, fixed search/filter issue
raphaeltm Apr 25, 2024
96b52f9
fix logs panel styling
raphaeltm Apr 25, 2024
de418b0
Merge branch 'main' of github.com:defang-io/portal
raphaeltm Apr 25, 2024
e88cb9f
add 5m and identify users when first logged in
raphaeltm Apr 25, 2024
bf0b146
Switch from etag to project+name as id
lionello Apr 25, 2024
713f254
add suspense boundaries
raphaeltm Apr 25, 2024
90f5794
add git commit
lionello Apr 25, 2024
95863c0
fix dependabot
lionello Apr 25, 2024
08db506
Revert "fix dependabot"
lionello Apr 25, 2024
a0f3dea
trigger
lionello Apr 26, 2024
7314b68
update pulumi/pnpm-lock.yaml
lionello Apr 26, 2024
ec2e7b1
add git commit
lionello Apr 25, 2024
9e2f29a
Switch from etag to project+name as id
lionello Apr 25, 2024
26fdfdf
README
lionello Apr 29, 2024
543e356
update fabric.proto
lionello Apr 29, 2024
bbe85bc
fix build error
lionello Apr 29, 2024
75b6d82
restructured logged-in stuff
raphaeltm Apr 29, 2024
e26cca8
Merge branch 'unreverted' of github.com:defang-io/portal into unreverted
raphaeltm Apr 29, 2024
b3566ed
Merge remote-tracking branch 'origin/main' into unreverted
raphaeltm Apr 29, 2024
2735dae
reverted generated to main and added ellipsis to clickable detail
raphaeltm Apr 30, 2024
78447b5
checked out fabric defs from origin/main
raphaeltm Apr 30, 2024
a8d16e5
Merge pull request #55 from defang-io/unreverted
lionello Apr 30, 2024
a95a93d
add build test in PRs and allow login required HoC to take props "any"
raphaeltm Apr 30, 2024
56d221f
properly add web build test
raphaeltm Apr 30, 2024
17aa4df
pnpmin gh action
raphaeltm Apr 30, 2024
37c31d2
Merge pull request #57 from defang-io/unreverted
raphaeltm Apr 30, 2024
5d387a5
rename github links
lionello May 16, 2024
bf801af
fix reddit link
lionello May 16, 2024
b4e1fc5
fix CI install script
lionello May 16, 2024
d821b42
add project column
lionello Jun 12, 2024
7c95f8e
redirect page to handle redirects to urls after checking that tos is …
raphaeltm Jun 13, 2024
f6a020a
redirect page
raphaeltm Jun 14, 2024
e959405
Merge pull request #63 from DefangLabs/1-click-deploy
raphaeltm Jun 17, 2024
9995322
add logic to redirect to original url on successful login
raphaeltm Jun 17, 2024
0b8ddc3
Merge pull request #64 from DefangLabs/1-click-deploy
raphaeltm Jun 17, 2024
bcbe0d4
Add Discord link
lionello Jun 17, 2024
e063026
Merge pull request #65 from DefangLabs/lio-invite-discord
lionello Jun 18, 2024
1434761
Merge pull request #61 from DefangLabs/lio-add-project
raphaeltm Jun 18, 2024
b0bb842
samples
raphaeltm Jun 22, 2024
1c03f33
add cli cmd
raphaeltm Jun 22, 2024
46915b8
pretty usable 1-click deploy in portal
raphaeltm Jun 23, 2024
a2cbe1e
better tracking
raphaeltm Jun 23, 2024
6e60644
fix tracking
raphaeltm Jun 23, 2024
13101ff
use environment: production
lionello Jun 25, 2024
2fd7547
Bump @grpc/grpc-js and @pulumi/pulumi in /pulumi
dependabot[bot] Jun 25, 2024
2eb988c
Merge pull request #68 from DefangLabs/dependabot/npm_and_yarn/pulumi…
lionello Jun 25, 2024
89e9808
minor tweaks to env vars
raphaeltm Jun 28, 2024
d8bff4e
handle case of object with empty val and empty envs
raphaeltm Jun 28, 2024
11fbc51
fix samples page inner
raphaeltm Jun 28, 2024
f985d85
Merge pull request #70 from DefangLabs/samples-in-portal
raphaeltm Jun 28, 2024
8a04ee4
update prod keys
lionello Jul 11, 2024
c9b364b
remove old keys
lionello Jul 11, 2024
e48c059
bah
lionello Jul 11, 2024
a87b96c
Update pulumi-defang provider
lionello Jul 11, 2024
b4f257e
force deploy heimdall
lionello Jul 11, 2024
7c1fe9e
minor UI fixes and logging fix
raphaeltm Jul 17, 2024
84ec56a
fix identify call, which was in the next14 layout file which we ended…
raphaeltm Jul 17, 2024
932b149
Merge pull request #72 from DefangLabs/identify-rpc
raphaeltm Jul 17, 2024
be01dd4
Reset logs when toggling negative filter
raphaeltm Jul 18, 2024
62a586f
update logs to use virtualization for better performance
raphaeltm Jul 19, 2024
8a9058f
Merge pull request #74 from DefangLabs/fix-duplicate-logs
raphaeltm Jul 19, 2024
1219c57
update discord link
raphaeltm Jul 23, 2024
8e4edb0
Update empty-services.tsx
lionello Sep 5, 2024
d80b5ed
use waitForSteadyState
lionello Sep 5, 2024
cf397ef
Bump micromatch from 4.0.5 to 4.0.8 in /web
dependabot[bot] Sep 5, 2024
6a99cff
prettier
lionello Sep 5, 2024
9649ecf
fix #58: update checkout to v4
lionello Sep 5, 2024
20e157a
use GHA concurrency group
lionello Sep 5, 2024
efb5606
Merge pull request #77 from DefangLabs/dependabot/npm_and_yarn/web/mi…
lionello Sep 5, 2024
ab15d02
Bump axios from 1.6.0 to 1.7.4 in /web
dependabot[bot] Sep 5, 2024
8c78d1d
Merge pull request #76 from DefangLabs/dependabot/npm_and_yarn/web/ax…
lionello Sep 5, 2024
a686cb4
Bump @grpc/grpc-js from 1.8.17 to 1.8.22 in /web
dependabot[bot] Sep 5, 2024
fc9a152
waitForSteadyState using pulumi-defang 0.16.2
lionello Sep 5, 2024
4f2a66c
Merge pull request #60 from DefangLabs/dependabot/npm_and_yarn/web/gr…
lionello Sep 5, 2024
5454bd5
Add defang compose down
lionello Sep 6, 2024
c95202d
Update empty-services.tsx: prettier
lionello Sep 6, 2024
3e4bd63
more good grammar
lionello Sep 7, 2024
16d02f8
force refresh during up
lionello Sep 10, 2024
083ecc2
workable devcontainer
raphaeltm Sep 10, 2024
0309e5e
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Sep 10, 2024
c716599
upgrade pulumi-defang to 0.17.0
lionello Sep 10, 2024
1261b9d
Merge pull request #78 from DefangLabs/lio/pulumi-defang-project
edwardrf Sep 10, 2024
1967a32
update local dev flow
raphaeltm Sep 10, 2024
0f22778
update pulumi-defang
lionello Sep 11, 2024
b328f5c
switch from task type npm to shell
raphaeltm Sep 11, 2024
dd58917
add simple deletion instructions to account page
jordanstephens Sep 11, 2024
449fda6
add "My Account" to sidebar user chip
jordanstephens Sep 11, 2024
48d3baa
use port 8000 instead of 5000
jordanstephens Sep 11, 2024
72e00e9
use 8001 instead of 5001
jordanstephens Sep 11, 2024
db7f2fb
prefer support@defang.io because it gets routed to intercom
jordanstephens Sep 11, 2024
3fd1c97
Merge pull request #80 from DefangLabs/jordan/add-deletion-instructions
lionello Sep 12, 2024
e845c30
dev redirect
raphaeltm Sep 12, 2024
4516f05
Merge pull request #79 from DefangLabs/update-dev-workflow
raphaeltm Sep 12, 2024
517fb49
fix markup position of "My Account" label
jordanstephens Sep 12, 2024
f67a4cd
Merge pull request #83 from DefangLabs/jordan/add-my-account-label-to…
lionello Sep 12, 2024
ec7d862
Project dashboard (#85)
jordanstephens Sep 13, 2024
f7a3c1b
hotfix
jordanstephens Sep 13, 2024
0e971e0
Use CopyCode for all code (#86)
lionello Sep 17, 2024
2838b0e
Account deletion flow (#84)
raphaeltm Oct 17, 2024
b219724
rm https in NEXT_PUBLIC_FABRIC in web
raphaeltm Oct 17, 2024
45691ec
update internal fn endpoint to http instead of https
raphaeltm Oct 17, 2024
31918be
rm ts aliases
raphaeltm Oct 17, 2024
fcac9e3
Portal Architecture Documentation (#95)
jordanstephens Oct 17, 2024
2ed03c6
missing hasura domain for deletion
raphaeltm Oct 17, 2024
414c322
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Oct 17, 2024
1d756ef
add production suffix to service names
raphaeltm Oct 18, 2024
a95b3f2
update login screen
raphaeltm Oct 23, 2024
c21f977
Upgrade pulumi-defang to 0.18.0 (#96)
lionello Oct 23, 2024
b7b49b7
Update log-filter-bar.tsx: use image field
lionello Oct 25, 2024
9972e48
Update log-filter-bar.tsx: typo
lionello Oct 25, 2024
e8baf4e
revert to service.build
lionello Oct 25, 2024
cefbf0e
Add GitHub ID to claims (#99)
lionello Oct 30, 2024
b710e9a
Specify Playground
lionello Oct 31, 2024
4a47a77
Don't parse Fabric token
lionello Nov 5, 2024
e8d7b1f
Check rpc gRPC code for token expiry (#103)
lionello Nov 6, 2024
4fd2450
New portal landing screen (#102)
raphaeltm Nov 6, 2024
e63f2eb
Default to register if logged out (#104)
raphaeltm Nov 6, 2024
c20981d
Update logged-in.tsx (#106)
lionello Nov 7, 2024
7cfaf54
Stack on med screens, and update cli download link (#105)
raphaeltm Nov 7, 2024
67c1732
Fix samples link
lionello Nov 9, 2024
e8b0fe1
Add note re: Playground project deletion
lionello Nov 10, 2024
fd69656
Check confirm return value before delete
lionello Nov 11, 2024
14b4c26
Project Delete Button (#109)
jordanstephens Nov 15, 2024
a7b5a2d
Add link to sample dir on GitHub (#108)
lionello Nov 15, 2024
9c7e149
Show expiry message for playground project (#110)
lionello Nov 20, 2024
bffa890
Move to defang.io (#101)
raphaeltm Nov 22, 2024
98d1b4c
Update to pulumi-defang 0.19.2
lionello Nov 22, 2024
9c267de
Update pulumi-defang to 0.19.3
lionello Nov 22, 2024
3a2b64e
Revert portal.defang.io
lionello Nov 22, 2024
f487776
Update Pulumi.production.yaml
lionello Nov 22, 2024
47ffdc9
Update pulumi-defang to 0.19.4
lionello Nov 22, 2024
054c99e
Restyle deactivation info (#111)
raphaeltm Nov 28, 2024
b00fee4
Add stripe (#107)
lionello Nov 29, 2024
9c96a35
Add public Stripe env to Dockerfile build args
lionello Nov 29, 2024
6ff2043
Add build arg comment [no ci]
lionello Nov 29, 2024
271e9bb
Show sub management for hobby (#119)
lionello Nov 29, 2024
9092bae
Add social proof to auth screens (#121)
raphaeltm Dec 1, 2024
bc3182c
Revert "Show sub management for hobby (#119)"
lionello Dec 2, 2024
4281cd5
Show pricing for UNSPECIFIED tier
lionello Dec 2, 2024
86b5363
Bump cross-spawn from 7.0.3 to 7.0.6 in /web (#118)
dependabot[bot] Dec 2, 2024
673c1ac
Custom pricing table (#122)
raphaeltm Dec 3, 2024
a225cd8
Update stripe.service.ts: redirect to pricing (#123)
lionello Dec 3, 2024
7b8494b
portal url link for hobby
raphaeltm Dec 3, 2024
5070f4b
fix link to install page (#126)
nullfunc Dec 6, 2024
f20b856
Delete user from Stripe (#129)
lionello Dec 11, 2024
8e9b3a0
fix navigation tab link to install (#132)
nullfunc Dec 13, 2024
ba8e79c
Fix clickjacking
lionello Jan 7, 2025
f688e42
fix imports
lionello Jan 9, 2025
ede5cdb
disable segment easily in dev (#140)
jordanstephens Jan 31, 2025
ca6818d
Add openauth (#141)
raphaeltm Feb 5, 2025
979a986
Actual Merge Portal Prod (#149)
raphaeltm Feb 28, 2025
d5e62ee
Remove dash before public
raphaeltm Feb 28, 2025
47f2ceb
Remove console error for missing access token in getAuth function
raphaeltm Feb 28, 2025
c06cf45
rm excessive logging from auth client
raphaeltm Feb 28, 2025
fd1956a
clean up logs
raphaeltm Feb 28, 2025
90cc33f
Update deploy.yml: custom CD image
lionello Mar 3, 2025
9236058
Update deploy.yml: defang CD image
lionello Mar 3, 2025
504e2e1
account for load balancer x-forwarded-hostname
raphaeltm Mar 3, 2025
870594a
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Mar 3, 2025
4289db5
Use dev CD from Docker Hub
lionello Mar 3, 2025
bb264e3
Update CD image
lionello Mar 3, 2025
c06a703
Update CD image
lionello Mar 3, 2025
47b41d1
remove port and explicit proto
raphaeltm Mar 3, 2025
40bde1e
switch 302 for 301
raphaeltm Mar 3, 2025
5077388
add console logs for redirect debugging
raphaeltm Mar 3, 2025
d6c3474
switch to use host
raphaeltm Mar 3, 2025
5ed2a10
Update deploy.yml: use prod CD
lionello Mar 3, 2025
00d8421
Add user analytics tracking on login and logout actions (#151)
raphaeltm Mar 5, 2025
4f4489b
Update Content Security Policy to allow defang.io for images
raphaeltm Mar 13, 2025
bb5bfa2
Minor brand tweaks to match new stuff (#154)
raphaeltm Mar 14, 2025
cbdca18
new icon
raphaeltm Mar 17, 2025
24615c3
rm favicon and add opengraph images
raphaeltm Mar 17, 2025
cea60f2
fix tracking issues
raphaeltm Mar 18, 2025
ea2598a
add segment third party script loading to csp
raphaeltm Mar 19, 2025
3d319d4
update Content Security Policy to include Google Tag Manager and Inte…
raphaeltm Mar 19, 2025
813da5d
reorg csp and add all the extra intercom stuff
raphaeltm Mar 19, 2025
27784b2
Portal Stripe Integration (#161)
raphaeltm Mar 31, 2025
915f79e
After a say need to click twice to log in (#164)
raphaeltm Mar 31, 2025
c2334a9
fix Google Analytics CSP and preventative Mixpanel, thought it should…
raphaeltm Mar 31, 2025
702c094
style: update UserChip and UserLabel colors to white; refactor Sample…
raphaeltm Mar 31, 2025
8feb350
update tagline
raphaeltm Apr 1, 2025
3b22156
refactor: streamline user-inserted event handler and enhance useDefan…
raphaeltm Apr 7, 2025
838d7a6
Update compose.production.yaml: default network (#171)
lionello Apr 7, 2025
dab0122
Allow redirect to loopback (#176)
lionello Apr 15, 2025
88bbf4a
Redirect on login (#177)
raphaeltm Apr 15, 2025
c12314f
Fix stripe flow (#179)
raphaeltm Apr 23, 2025
20913b2
unspecified tier
raphaeltm Apr 23, 2025
c4a9249
fix loading states in portal
raphaeltm Apr 23, 2025
7d0f227
tier debugging
raphaeltm Apr 23, 2025
c7f3fd3
default to hobby tier
raphaeltm Apr 23, 2025
3b6ad7a
update button style to fit content in custom pricing table
raphaeltm Apr 23, 2025
30a6b67
enable promotion codes on Stripe checkout session
raphaeltm Apr 24, 2025
b1e71b3
add GitHub organization data handling to provider and schema
raphaeltm Apr 24, 2025
7a92b15
update package version
raphaeltm Apr 24, 2025
0cc82d8
bump patch
raphaeltm Apr 24, 2025
ff1bb31
Fix logo and favicon
lionello May 6, 2025
64eb701
add raw.githubusercontent.com to csp for deploy button
raphaeltm May 7, 2025
f6a7c16
allow fetching yaml from raw gh content
raphaeltm May 9, 2025
71e77a3
Fix typo in error message
lionello May 9, 2025
9e023b3
Don't truncate tooltop
lionello May 12, 2025
bba033b
Replace docker with new containers extension
lionello May 12, 2025
647259f
Use new container tools extension (#183)
lionello May 14, 2025
11682ff
Show service command (#185)
lionello May 14, 2025
aa32fcc
Update Pricing Copy (#186)
raphaeltm May 14, 2025
86b918a
Update flake.lock Pulumi 3.170 (#187)
lionello May 23, 2025
1bb7f27
Show current run+build logs by default (#191)
lionello May 28, 2025
17c9ad3
Restyle Domain (#192)
raphaeltm May 28, 2025
e7baad1
Update fabric.proto from CLI repo (#190)
lionello Jun 5, 2025
400d42b
Deployments layout on portal (#198)
nullfunc Jun 10, 2025
8e37a0d
update for prettier (#200)
nullfunc Jun 11, 2025
9d0b02a
fix sample (no 's') link (#201)
nullfunc Jun 16, 2025
736dcc9
Update mock client (#204)
raphaeltm Jun 18, 2025
ab98610
set up concurrency groups and timeouts for ci deploy jobs (#212)
jordanstephens Jun 23, 2025
76b509e
Migrate portal login screen to openauth login screen (#207)
jordanstephens Jun 25, 2025
88ffc28
DevEx P1: Create Tenant Tables, JWTs (#202)
raphaeltm Jul 3, 2025
6fa5dd2
fix dark mode styles on auth page (#225)
jordanstephens Jul 3, 2025
da4cf6f
Revert "DevEx P1: Create Tenant Tables, JWTs" (#229)
lionello Jul 3, 2025
be7ab05
Reapply "DevEx P1: Create Tenant Tables, JWTs" (#230)
lionello Jul 5, 2025
be1225b
return to account.extra.username for tenant name
raphaeltm Jul 5, 2025
ade0a4a
Bump form-data from 4.0.1 to 4.0.4 in /web (#239)
dependabot[bot] Jul 25, 2025
f4ebf19
use new tag line for description
lionello Jul 31, 2025
3882033
Update flake.lock
lionello Aug 6, 2025
47a9cfa
bun update. v1.2 (#249)
nullfunc Aug 7, 2025
9ea7bad
gitlab auth (#247)
lionello Aug 19, 2025
b2bd3b6
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Aug 20, 2025
f871c4e
allow manual deployment to dev for selected branch (#257)
nullfunc Aug 22, 2025
12348fb
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Aug 25, 2025
08d1037
Revert "allow manual deployment to dev for selected branch" (#259)
lionello Aug 26, 2025
73e01e1
Add form POST handler for AWS Marketplace (#251)
lionello Aug 26, 2025
ab1e3d7
DevEx P6: Tenant Deletion (#228)
raphaeltm Aug 28, 2025
e7c0703
Merge branch 'main' of github.com:DefangLabs/portal
raphaeltm Aug 28, 2025
401df08
new idem key
raphaeltm Aug 28, 2025
e0017a3
Integrate AWS payment with other aspects of billing (#262)
raphaeltm Aug 28, 2025
5241be7
Remove old openauth subtree to switch to master branch
Sep 4, 2025
a822da1
Merge commit 'e6689eafd64c9357eca333a772a702e5ba468cab' as 'auth/open…
Sep 4, 2025
a70d6f2
Add GitLab OAuth2 provider to OpenAuth
Sep 4, 2025
ae68bc4
Add GitLab OAuth2 provider
Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions packages/openauth/src/provider/gitlab.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Use this provider to authenticate with Gitlab.
*
* ```ts {5-8}
* import { GitlabProvider } from "@openauthjs/openauth/provider/gitlab"
*
* export default issuer({
* providers: {
* gitlab: GitlabProvider({
* clientId: "1234567890",
* clientSecret: "0987654321"
* })
* }
* })
* ```
*
* @packageDocumentation
*/

import { Oauth2Provider, Oauth2WrappedConfig } from "./oauth2.js"

export interface GitlabConfig extends Oauth2WrappedConfig {}

/**
* Create a Gitlab OAuth2 provider.
*
* @param config - The config for the provider.
* @example
* ```ts
* GitlabProvider({
* clientId: "1234567890",
* clientSecret: "0987654321"
* })
* ```
*/
export function GitlabProvider(config: GitlabConfig) {
return Oauth2Provider({
...config,
type: "gitlab",
endpoint: {
authorization: "https://gitlab.com/oauth/authorize",
token: "https://gitlab.com/oauth/token",
},
})
}