
9itlk (9itlk) asked a question.
Hi, I have been trying to create a sso widget (with Django Web App) as per the official github code. I am able to create to create a widget but when I sign in with my credentials, it generates a 'MultiValueDictKeyError at /oauth2/callback' with the error description: One+or+more+scopes+are+not+configured+for+the+authorization+server+resource.
I have been in and out of API>Authorization Server Resource, I cannot find the error.
Please assist.

Hello @9itlk (9itlk),
Thanks for posting.
If you need scopes in addition to the reserved scopes provided, you can create them. Custom scopes can have corresponding claims that tie them to some sort of user information.
-In the Admin Console, go to Security > API.
-On the Authorization Servers tab, select the name of the Authorization Server, and then select Scopes.
-Select Scopes and then Add Scope.
-Enter a Name, Display phrase, and Description.
https://developer.okta.com/docs/guides/customize-authz-server/main/#create-scopes
Here is also the documentation regarding the difference between Okta Org authorization server and a custom authorization server.
https://developer.okta.com/docs/concepts/auth-servers/#available-authorization-server-types
If further assistance is required, feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.
Regards,
Natalia
Okta Inc.