Skip to content

Instantly share code, notes, and snippets.


Robson Tenório robsontenorio

Block or report user

Report or block robsontenorio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
robsontenorio / auth-refresh-token.js
Last active Jul 13, 2019
[OAUTH2][KEYCLOAK] Auto refresh token for @nuxtjs/auth module
View auth-refresh-token.js
const strategy = 'keycloak'
export default function ({ app }) {
const { $axios, $auth } = app
if (!$auth.loggedIn || !$auth.strategies[strategy])
const options = $auth.strategies.keycloak.options
You can’t perform that action at this time.