Can I use okta/okta-vue with identityserver4?

I can not connect okta/okta-vue(Vue.js) with the identityserver4

config.cs in Identityserver4

new Client
            {
                ClientName="TiT",
                ClientId="titId",                    
                AllowedGrantTypes=GrantTypes.Implicit,
                AllowAccessTokensViaBrowser=true,
                AccessTokenType = AccessTokenType.Reference, 
                UpdateAccessTokenClaimsOnRefresh = true,
                AllowOfflineAccess = true,

                RedirectUris = new List<string>()
                {
                    "http://localhost:8080/implicit/callback"
                },

                PostLogoutRedirectUris = {
                    //"https://localhost:44392/signout-callback-oidc"                        
                    //"http://localhost:8080/index.html"
                },
                AllowedCorsOrigins = {
                    "http://localhost:8080"
                },
                EnableLocalLogin=true,                   
                AllowedScopes =
                {
                    IdentityServerConstants.StandardScopes.OpenId,
                    IdentityServerConstants.StandardScopes.Profile,
                    IdentityServerConstants.StandardScopes.Address,
                    "titapi",                      
                    "roles",
                    "instituicao"                       
                },
                ClientSecrets = new List<Secret>()
                {
                    new Secret("secret".Sha256())
                },
                AlwaysIncludeUserClaimsInIdToken=true
            }

index.js in okta

Vue.use(Auth,{
      issuer: 'https://localhost:44392',
      client_id: 'titId',
      redirect_uri: 'http://localhost:8080/implicit/callback',
      scope: 'openid profile address roles instituicao titapi offline_access'
    })

    Vue.use(Router)

    let router = new Router({
      mode: 'history',
      routes: [
        {
          path: '/',
          name: 'Hello',
          component: Hello
        },
        {
          path: '/implicit/callback',
          component: Auth.handleCallback()
        },
        {
          path: '/posts-manager',
          name: 'PostsManager',
          component: PostsManager,
          meta: {
            requiresAuth: true
          }
        }
      ]
    })
router.beforeEach(Vue.prototype.$auth.authRedirectGuard())
export default router

Erro: Failed to load resource: the server responded with a status of 404 (Not Found)

Web:https://localhost:44392/oauth2/v1/authorize?client_id=titId&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fimplicit%2Fcallback&response_type=id_token%20token&response_mode=fragment&state=fjNKrKB7a2ZleAEoq8ifjd2SfXzrwVA7HP7eXkK3ZeYrEhZuQzvl4BqKrYO1xIMf&nonce=zVlo3zpNPacSCoxRxMGZgTaXxW7ItdRBbjoD83uqy4dxBZXYrAGgQFDcocowXArd&scope=openid%20profile%20address%20roles%20instituicao%20titapi%20offline_access

Unfortunately, we don’t support using our SDKs with other OAuth providers. We’re happy to help you get it to work with Okta!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.