profile
viewpoint
carvin carvinlo Front-End Engineer TypeScript + VSCode

carvinlo/101 0

A modern JS utility library

carvinlo/12-javascript-quirks 0

javascript 的 12 个怪癖(quirks)

carvinlo/angular-node-express-jade-phonecat 0

这是AngularJS官方入门教程项目(phonecat)的 angular+node+express+jade的实现版本

carvinlo/angularjs-book 0

Examples and Code snippets from the AngularJS O'Reilly book

carvinlo/angularjs-cn 0

AngularJS

carvinlo/AngularjsTutorial_cn 0

AngularJS入门教程——AngularJS中文社区提供

carvinlo/ant-design 0

🌈 A UI Design Language and React UI library

carvinlo/babel-loader-lerna-cra 0

Transpile Create-React-App imports in Lerna projects.

carvinlo/blog 0

没事写写文章

startedpavlobu/deskreen

started time in a day

startedjust-containers/skaware

started time in 3 days

startedjust-containers/s6-overlay-preinit

started time in 4 days

startedjust-containers/socklog

started time in 4 days

startedjust-containers/justc-envdir

started time in 4 days

startedskarnet/s6-rc

started time in 4 days

startedskarnet/s6-portable-utils

started time in 4 days

startedskarnet/s6-networking

started time in 4 days

startedskarnet/s6-linux-utils

started time in 4 days

startedskarnet/s6-dns

started time in 4 days

startedskarnet/s6

started time in 4 days

startedskarnet/execline

started time in 4 days

startedskarnet/skalibs

started time in 4 days

push eventsmapiot/piral

Florian Rappl

commit sha 72baf91a61cfd7f731d07546db35ec9facaeca11

Improved the pilet wp config enhancer fixing potential chunk loading issue

view details

Florian Rappl

commit sha b52363fdb2132eab6f92edc2b151500f4fd88775

Improved the reset of Webpack

view details

Florian Rappl

commit sha 9ac3626cc85b5937a50e039debd32c2697b49242

Fixed issues with piral-update

view details

push time in 4 days

startedaws/aws-sdk-go-v2

started time in 4 days

issue closedsmapiot/piral

Tips for installing piral cli kras@0.11.1 This edition does not exist

An error occurred while running the command NPM install piral-cli - g: npm ERR! code ETARGET npm ERR! notarget No matching version found for kras@^0.11.1 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'piral-cli' npm ERR! notarget

closed time in 4 days

yanduhantan1991

issue commentsmapiot/piral

Tips for installing piral cli kras@0.11.1 This edition does not exist

Well, it exists: https://www.npmjs.com/package/kras/v/0.11.1

Something is wrong with your setup. Check your NPM proxy or NPM configuration in general.

yanduhantan1991

comment created time in 4 days

issue openedsmapiot/piral

Tips for installing piral cli kras@0.11.1 This edition does not exist

An error occurred while running the command NPM install piral-cli - g: npm ERR! code ETARGET npm ERR! notarget No matching version found for kras@^0.11.1 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'piral-cli' npm ERR! notarget

created time in 4 days

startedsignalapp/Signal-Desktop

started time in 4 days

created repositoryportapps/signal-portable

🚀 Signal portable for Windows

created time in 5 days

issue commentsmapiot/piral

Invalid response_type parameter in authorization redirect // piral-oauth2 plugin

A fix has been deployed and is available in the @next version (1.0.0-pre.2094).

It would be superb if @HGButtenT could test this version. Let us know if this fixes the issue. Thanks! 🍻

HGButtenT

comment created time in 5 days

created repositoryArtOfMicrofrontends/07-green

Sample project for the microfrontend of team green in "server-side composition" of ch. 7.

created time in 5 days

created repositoryArtOfMicrofrontends/07-blue

Sample project for the microfrontend of team blue in "server-side composition" of ch. 7.

created time in 5 days

created repositoryArtOfMicrofrontends/07-red

Sample project for the microfrontend of team red in "server-side composition" of ch. 7.

created time in 5 days

created repositoryArtOfMicrofrontends/07-gateway

Sample project for the gateway of "server-side composition" of ch. 7.

created time in 5 days

push eventsmapiot/piral

Florian Rappl

commit sha 5b460d05d6ee78e774a2ed51020666e9a1a25aff

Fixed bug in oauth2 plugin wrt code flow

view details

push time in 5 days

issue commentsmapiot/piral

Invalid response_type parameter in authorization redirect // piral-oauth2 plugin

This is a good point - thanks for the investigation.

I think we can fix this quickly!

HGButtenT

comment created time in 5 days

issue commentsmapiot/piral

Invalid response_type parameter in authorization redirect // piral-oauth2 plugin

Hi @FlorianRappl ,

after some further debugging, I believe the problem is located in the function

setupOAuth2Client(config);

In version 1.0.0-pre.2091 there was a return statement located directly in the login function of the flow === 'code' part. The login function did return a client.code.getUri().

    if (flow === 'code') {
        client.code.getToken(location.href).then(function (token) { return (currentToken = token); }, function () { });
        var retrieveToken_1 = function () {
            if (!currentToken) {
                return Promise.reject('Not logged in. Please call `login()` to retrieve a token.');
            }
            if (!currentToken.expired()) {
                return Promise.resolve(currentToken.accessToken);
            }
            return currentToken.refresh().then(function (refreshedToken) {
                currentToken = refreshedToken;
                return currentToken.accessToken;
            });
        };
        return {
            login: function () {
                window.location.href = client.code.getUri();
            },
        [ ... ]
        };
    }

In version 1.0.0-pre.2093, the return statement is below of the if / else part and does always return a client.token.getUri(), no matter what flow has been chosen.

    if (flow === 'code') {
        client.code.getToken(location.href).then(function (token) { return (currentToken = token); }, function () { });
        retrieveToken = function () {
            if (!currentToken) {
                return Promise.reject('Not logged in. Please call `login()` to retrieve a token.');
            }
            if (!currentToken.expired()) {
                return Promise.resolve(currentToken.accessToken);
            }
            return currentToken.refresh().then(function (refreshedToken) {
                currentToken = refreshedToken;
                return currentToken.accessToken;
            });
        };
    }
    else {
       [...]
    }
    return {
        login: function () {
            window.location.href = client.token.getUri();
        },
        [ ... ]
    };
}
HGButtenT

comment created time in 5 days

startedPacktPublishing/The-Art-of-Microfrontends

started time in 5 days

MemberEvent
more