Replies: 2 comments 11 replies
-
|
I'm sure Azure won't notice the extra requests from your app, but your users will notice if azure disappears and your app crashes out about it. |
Beta Was this translation helpful? Give feedback.
-
|
Did a bit more digging. The problem comes from running If Ahh, no one cannot, the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First of, yes I know it is not a plugin that is maintained here, but (1) the end question is probably a bit more general, (2) it does seem there are users here who use the plugin and (3) the plugins GitHub page 1 does not have a discussion part and seems a bit dead
For my webapps that require user auth we use
Mojolicious::Plugin::OAuth2against Azure OpenID and run our plugins underhypnotoad. It works quite well.However from time to time OpenID fails with some strange error, and it always work just fine again if we just reload
hypnotoad.Looking at the sources, the plugin retrieves the well-known data at the time of starting up the app.
But there is no guarantee that the data retrieved via well-known data does not change over time (aka one should never hardcode them).
Wanted to know ask two questions:
(1) Has anyone else had this kind of issues and do you have a general solution for it? Do we need to have systemd reload the hypnotoad from time to time?
(2) Say we wanted to create a OAuth3 plugin that should automatically reload the well-known information after a certain amount of time. Can we do that from within the framework? Or is everything loaded in the startup phase locked in place and is to be considered static once the app is started in hypnotoad?
Hope this made sense.
Footnotes
https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2 ↩
Beta Was this translation helpful? Give feedback.
All reactions