Skip to content

Instantly share code, notes, and snippets.

@alvistar
alvistar / keycloak.ts
Created Oct 5, 2020
Nuxtjs Logout Fix for Keycloak
View keycloak.ts
import Oauth2Scheme from '@nuxtjs/auth-next/dist/schemes/oauth2'
import { encodeQuery } from '@nuxtjs/auth-next/dist/utils'
export default class KeycloakScheme extends Oauth2Scheme {
logout () {
if (this.options.endpoints.logout) {
const opts = {
client_id: this.options.clientId,
post_logout_redirect_uri: this._logoutRedirectURI
}
@alvistar
alvistar / buildx-cache-example.yaml
Created May 4, 2020
Buildx cache example for Github Actions
View buildx-cache-example.yaml
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
qemu-version: latest
You can’t perform that action at this time.