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

Moodle Azure AD b2c cannot retrive token #30

Open
leonardoviotto opened this issue Jul 28, 2023 · 1 comment
Open

Moodle Azure AD b2c cannot retrive token #30

leonardoviotto opened this issue Jul 28, 2023 · 1 comment

Comments

@leonardoviotto
Copy link

Hallo!
I get that error while I try to do login. The error in the image is: Column 'token' can not be null.
The scope field is: openid https://<api-uri-id>/read.
Can someone help me?
Thank you
Regards
Leonardo
Schermata del 2023-07-25 17-52-16

@vcciaccounts
Copy link

vcciaccounts commented Aug 17, 2023

We had the same issue.

We found this as our answer - https://stackoverflow.com/a/67031342

Without providing a APPID you never get an Access Token. Therefore the Scope in the needs to be

openid profile offline_access **APPID**

Note: The APPID is the ClientId

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