Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security & Loading #567

Closed
carrbrpoa opened this issue Jun 30, 2016 · 7 comments
Closed

Security & Loading #567

carrbrpoa opened this issue Jun 30, 2016 · 7 comments

Comments

@carrbrpoa
Copy link

Hello guys!

I have the following scenario: one of my services is secured. The user can just cancel the login so normally it can continue using the application, expect that it can't interact with that particular service. OK. I load an util script that handles 'ready` event to do some stuff like creating a new right click menu option. The problem is that when the user cancel the login, seems that this util is broken and I don't see my new menu item.

Do you have any ideas?

Thanks in advance!

@tmcgee
Copy link
Member

tmcgee commented Jun 30, 2016

@carrbrpoa I probably need to understand the workflow better. When you say "util is broken" are you saying that util script never loads because the "ready" event doesn't fire?

@carrbrpoa
Copy link
Author

Hey Tim!

The script is there, I can see it under Sources tab in Chrome's F12; but yes, "ready" doesn't fire when I cancel the login. My util is actually an "invisible singleton and reusable widget" that doesn't inherit from widgetBase, referenced in Search Widget's config and in another custom and "normal" widget. :)

@tmcgee
Copy link
Member

tmcgee commented Jul 13, 2016

@carrbrpoa Did you get this resolved?

@carrbrpoa
Copy link
Author

Hey @tmcgee
No, but I'll try to give you a Minimal Working Example ASAP!

@tmcgee
Copy link
Member

tmcgee commented Sep 10, 2016

@carrbrpoa Did you get this resolved?

1 similar comment
@tmcgee
Copy link
Member

tmcgee commented May 23, 2017

@carrbrpoa Did you get this resolved?

@carrbrpoa
Copy link
Author

Hello @tmcgee, sorry for the long delay. Actually I "solved" this problem implementing the auth mechanism in another way. I suppose it can be closed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants