lib/osso/helpers/auth.rb in osso-0.0.3.11 vs lib/osso/helpers/auth.rb in osso-0.0.3.12
- old
+ new
@@ -12,9 +12,11 @@
halt 401 if request.post?
redirect ENV['JWT_URL']
end
+ # use client id in payload to restrict customer
+ # users from accessing dev?
def enterprise_authorized?(_domain)
payload, _args = decode(token)
@current_scope = payload['scope']