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

Doorkeeper oauth error causes an Err500 #195

Open
blerner opened this issue Jul 31, 2020 · 0 comments
Open

Doorkeeper oauth error causes an Err500 #195

blerner opened this issue Jul 31, 2020 · 0 comments
Assignees

Comments

@blerner
Copy link
Collaborator

blerner commented Jul 31, 2020

Followup from #186 - if there's a Doorkeeper authorization error, then it'll start Rendering .gem/ruby/gems/doorkeeper-5.4.0/app/views/doorkeeper/authorizations/error.html.erb within layouts/application. But layouts/application includes the _navbar partial, which attempts to check if true_user != current_user. But true_user isn't even defined, so this causes an ActionView::Template::Error (undefined local variable or method true_user' for #<#Class:0x0000000007e63c30:0x00007f7fa75a3b78>):`, which then barfs the whole page.

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