mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 23:02:59 +03:00
🐛 Bug Report: Memos Identifier invalid #464
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Node815 on GitHub.
Reproduction steps
When I add the necessary information for memos from usememos.com it successfully directs to the server and completes the login, but upon returning to the memos server, it errors out with a message saying the value is not found in the claims field or is empty.
In the case of above, it really doesn't matter what I put in there, I've tried name, profille, preferred_username and it returns the same value.
These are my settings and the required identifier from the app:
As this is the required field, I'm not really sure what the correct identifier for this would be.
This page gives some breakdown of the configuration for three services, but not this app yet. :)
https://www.usememos.com/docs/advanced-settings/sso
In every instance, it says to use the preferred_username which in this case doesn't work.
Expected behavior
It should pass the login auth to the memos app.
Actual Behavior
It actually returns to the app with this error. In this case, I used openid as the identifier.

@stonith404 commented on GitHub:
I think you've entered the wrong "user endpoint" URL. It should be
https://<pocket-id>/api/oidc/userinfo.Here is my configuration that is working:

@Node815 commented on GitHub:
Yup! That worked! Not sure how I missed it. Thank you!