Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Robson Tenório robsontenorio

🎯
Focusing
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
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])
return
const options = $auth.strategies.keycloak.options
You can’t perform that action at this time.