我找到了一个使用OKTA's Sign-in Widget构建Angular 4应用程序的教程。它很棒,我推荐给任何刚接触OKTA的人。
您可以在以下URL中找到它:
但是,我一直无法将该小部件配置为用于MFA,也无法找到工作示例或相关文档。
我一直收到这样的信息:
{name: "OAUTH_ERROR", message: "The client specified not to prompt, but the client app requires re-authentication or MFA."}
我查看了Sign-In Widget参考页
我最近在我的angular项目中添加了angular材质,但在将@angular/material添加到我的项目后不久,animate.js提供的一些动画就停止工作了。 有没有什么方法可以让animate.js和angular材质一起工作? 控制台错误: Module build failed: Error: ENOENT: no such file or directory, open 'node_modules/zone.js/dist/zone-evergreen.js' 但我确实在那个路径上有那个文件。
我想实现通知消息,比如
"Success! Your Details Added"
"Warning! Something Went Wrong"
"Danger! You don't have access to this"
我已经在我的应用程序中使用了angular材质,我可以将用于通知目的吗?
我还找到了一些相关的
建议我,如果有其他方法可以做到这一点。
我把新材料放在 highlight(dbId, color) {
let viewer = this.viewer;
let myMaterial = this.createMaterial(color);
// used to rescale and remove the z-fighting
let scaleRatio = 1.005; // this was determined as optimal through visual inspection
var tree = NOP_VIEWER.model.getData().instanceTree;
var result