menu

Clever Beagle

Chat with other product developers and get help with Clever Beagle's tools and resources.

Channels
Team

Displaying alert when oauth (redirect) fails

April 26, 2020 at 11:01am

Displaying alert when oauth (redirect) fails

April 26, 2020 at 11:01am
Hi there,
I have successfully connected my meteor app to signin using an oauth package wiseguyeh:accounts-azure-active-directory, using redirect. My problem is that when user is not allowed to sign in it returns to the login page without any indication that access was blocked. I get an error output in the server side but I would like to display an alert in the client side with Bert. Any ideas how to achieve this?
What I see in server side: (oauth_server.js:392) Error in OAuth Server: access_denied
No messages yet