sample-angular-oauth2-oidc-with-auth-guards:angular-oauth2-oidc库与AuthGuard一起工作的基本示例

时间:2021-01-30 09:34:26
【文件属性】:
文件名称:sample-angular-oauth2-oidc-with-auth-guards:angular-oauth2-oidc库与AuthGuard一起工作的基本示例
文件大小:315KB
文件格式:ZIP
更新时间:2021-01-30 09:34:26
angular typescript angular-oauth2-oidc AngularTypeScript 带有AuthGuard的示例angular-oauth2-oidc 该存储库显示了带有Angular 和Angular AuthGuard的基本Angular CLI应用程序。 :warning: 第三方Cookie 浏览器供应商正在围绕Cookie实施越来越严格的规则。 对于带有第三方域上的Identity Server的SPA来说,这越来越成为问题。 如果使用“通过iframe进行静默刷新”技术,则会出现最明显的问题。 该存储库当前使用该技术, 。 这将启动iframe以使用noprompt加载IDS页面,希望将cookie发送到该页面,以便IDS可以查看用户是否已登录。 ,提示领先的OAuth / OpenID社区成员写“ ”。 实际上,如果您在localhost上启动此示例存储库,该存储库与demo.identityserver.io (另一个域!)通信,并在Safari中使用它:您会注意到,静默刷新技术已经失败了! 进一步的想法,请参阅 。 产品特点 :warning: 要查看“隐式流程”,请参阅(由于现在建议使用“代码流程”,因此它可能已过时)。 这表
【文件预览】:
sample-angular-oauth2-oidc-with-auth-guards-master
----package.json(1KB)
----tslint.json(3KB)
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----angular.json(4KB)
----LICENSE(1KB)
----package-lock.json(526KB)
----CONTRIBUTING.md(2KB)
----src()
--------tsconfig.app.json(209B)
--------tslint.json(314B)
--------testing()
--------test.ts(670B)
--------assets()
--------index.html(517B)
--------tsconfig.spec.json(203B)
--------app()
--------main.ts(370B)
--------styles.css(323B)
--------polyfills.ts(3KB)
--------silent-refresh.html(765B)
--------.browserslistrc(375B)
--------environments()
--------favicon.ico(5KB)
----tsconfig.json(381B)
----tsconfig.base.json(408B)
----e2e()
--------protractor.conf.js(725B)
--------protractor-ci.conf.js(239B)
--------src()
--------tsconfig.json(222B)
----.gitignore(503B)
----screenshot-001.png(159KB)
----karma.conf.js(1KB)
----README.md(5KB)
----.editorconfig(245B)
----.vscode()
--------settings.json(186B)

网友评论