Skip to main content
pginete
Staff
Staff
January 28, 2025

Troubleshooting Tip: Cannot access the application using OAuth due to invalid_scope error

  • January 28, 2025
  • 0 replies
  • 412 views
Description

This article describes how to fix the invalid_scope error when accessing the application via OAuth authentication.

Scope FortiAuthenticator.
Solution OAuth error.JPG

 

The user cannot access the application after logging in via OAuth authentication. The error says invalid_scope error.

Configure the following to fix the invalid_scope error.

  1. Create two new scopes (profile and phone) on Scopes under Authentication -> OAuth Service.
  2. Add the two new scopes (profile and phone) on Relying  Party under Authentication -> OAuth Service.

 

The application should now be accessible and the invalid_scope error will no longer appear.