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

refactor: use keycloak-js instead of @nuxtjs/auth #1965

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3570ca7
refactor: use keycloak-js instead of @nuxtjs/auth
rwd Jun 1, 2023
e86c06b
chore: remove unused @nuxtjs/auth
rwd Jun 1, 2023
1182428
refactor: replace $auth with $keycloak; refresh support
rwd Jun 1, 2023
bbc416c
refactor: move auth fns to keycloak plugin
rwd Jun 1, 2023
8339a92
fix: read username from profile
rwd Jun 1, 2023
37e90a4
fix: update some out-dated refs
rwd Jun 1, 2023
7589f9d
chore: document env vars, use in CI
rwd Jun 2, 2023
1806cad
refactor: use cookies instead of localStorage
rwd Jun 2, 2023
9d96fa9
fix: get token
rwd Jun 2, 2023
73e8397
Merge branch 'master' into refactor/keycloak-js-pkg
rwd Jun 8, 2023
1c5b6b4
feat: implement auth middleware
rwd Jun 8, 2023
8c4ebc1
refactor: login via callback
rwd Jun 8, 2023
1718168
feat: return to current page after editing profile
rwd Jun 8, 2023
8dd4f68
chore: restore login link
rwd Jun 8, 2023
fcf253f
Merge branch 'master' into refactor/keycloak-js-pkg
rwd Jun 23, 2023
7d53b45
chore: recreate pkg lock
rwd Jun 23, 2023
77171b6
fix: update action name
rwd Jun 23, 2023
b0ed864
refactor: move keycloak mixin fns to plugin
rwd Jun 23, 2023
ac6397d
chore: debugging
rwd Jun 26, 2023
47aca23
refactor: stop excluding account pages from i18n
rwd Jun 30, 2023
94d281f
chore: delete redundant file
rwd Jun 30, 2023
938aff3
refactor: use cookied instead of localStorage
rwd Jun 30, 2023
ec95e60
refactor: init keycloak when layout mounted
rwd Jun 30, 2023
684d370
refactor: make logged-in user computed
rwd Jun 30, 2023
904d4c5
refactor: fetch likes when layout mounted
rwd Jul 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
CTF_SPACE_ID: ${{ secrets.CTF_SPACE_ID }}
DOCKER_REPOSITORY: ${{ vars.DOCKER_REPOSITORY }}
EUROPEANA_API_KEY: ${{ secrets.EUROPEANA_API_KEY }}
OAUTH_CLIENT: ${{ secrets.OAUTH_CLIENT }}
KEYCLOAK_CLIENT: ${{ secrets.KEYCLOAK_CLIENT }}

jobs:
annotate:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/support/ci/.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CTF_GRAPHQL_ORIGIN=${CTF_GRAPHQL_ORIGIN}
CTF_SPACE_ID=${CTF_SPACE_ID}
ENABLE_JIRA_SERVICE_DESK_FEEDBACK_FORM=${ENABLE_JIRA_SERVICE_DESK_FEEDBACK_FORM}
EUROPEANA_API_KEY=${EUROPEANA_API_KEY}
OAUTH_CLIENT=${OAUTH_CLIENT}
KEYCLOAK_CLIENT=${KEYCLOAK_CLIENT}
PERCY_TOKEN=${PERCY_TOKEN}
PERCY_BRANCH=${PERCY_BRANCH}
PERCY_COMMIT=${PERCY_COMMIT}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ or via ENV variables on your machine.

Some core features such as authentication and editorial content require the
relevant configuration options to be specified. In particular, pay attention to
the Europeana APIs, Contentful, Redis and oAuth sections in the example .env file.
the Europeana APIs, Contentful, Redis and Keycloak sections in the example .env file.

## Build

Expand Down