Skip to content

Commit cedad0d

Browse files
fix(auth): fix Auth0 integration (#164)
Because - `instill auth login` isnt working This commit - missing auth0 vars - .env for local dev - updated go version - aligned build system - aligned CI - dev and prod tenants working - fix callback error Ticket: https://linear.app/instill-ai/issue/INS-1660/cli-fix-auth-for-cloud-prod ### Testing 1. Create an `.env` file and fill in the secrets ``` # SECRETS # vault / secret / devops / auth0 / prod / client-id INSTILL_OAUTH_CLIENT_ID= # vault / secret / devops / auth0 / prod / client-secret INSTILL_OAUTH_CLIENT_SECRET= # CONFIG INSTILL_OAUTH_HOSTNAME=auth.instill.tech INSTILL_OAUTH_ISSUER=https://auth.instill.tech/ INSTILL_OAUTH_AUDIENCE=https://api.instill.tech INSTILL_OAUTH_CALLBACK_HOST=localhost INSTILL_OAUTH_CALLBACK_PORT=8085 ``` 2. `make bin/instill` 3. `./bin/instill auth login` ### Future work - integration tests with Auth0 - auth for Core instances Co-authored-by: Ping-Lin Chang <[email protected]>
1 parent 967e8d1 commit cedad0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+345
-739
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @pinglin @phelan164 @xiaofei-du
1+
* @TobiaszCudnik @heiruwu @pinglin

.github/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 133 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2023 Instill AI
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/SECURITY.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
🗿 instill-base:
2+
- "**"

.github/semantic.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/add-issue-to-prj.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Add Label to PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- synchronize
8+
9+
jobs:
10+
triage:
11+
uses: instill-ai/.github/.github/workflows/add-label-to-pr.yml@main
12+
secrets:
13+
botGitHubToken: ${{ secrets.botGitHubToken }}

0 commit comments

Comments
 (0)