Comments (10)
@tangyang9464 @JalinWang @imp2002
from casdoor.
When searching for the issue I found this previous issue with additional information: #1184.
There is some mention of previously reverted code due to conflict and a hint on a possible way to fix it.
I won't have time to look at it so Good luck :).
from casdoor.
And exactly the same problem with proxmox authorization
from casdoor.
🎉 This issue has been resolved in version 1.632.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from casdoor.
Commit was reverted so probably make sense to reopen the issue.
Tested the 1.632.0
release, and it was failing too.
When manually exchanging the code for token I could see:
"address": {
"formatted": "",
"street_address": "",
"locality": "",
"region": "",
"postal_code": "",
"country": ""
},
So a bit unsure why it would fail, but I would recommend to just not include the field when there is no data.
from casdoor.
Commit was reverted so probably make sense to reopen the issue. Tested the
1.632.0
release, and it was failing too.When manually exchanging the code for token I could see:
"address": { "formatted": "", "street_address": "", "locality": "", "region": "", "postal_code": "", "country": "" },
So a bit unsure why it would fail, but I would recommend to just not include the field when there is no data.
can you tell us what tool / platform you are using that cause this problem ?
from casdoor.
I'm using https://github.com/ramosbugs/openidconnect-rs which in general follow the spec quite strictly.
Since the change in 1.632.0
was reverted I did not spend more time trying to understand why it failed even with the new format.
from casdoor.
I'm using https://github.com/ramosbugs/openidconnect-rs which in general follow the spec quite strictly.
Since the change in
1.632.0
was reverted I did not spend more time trying to understand why it failed even with the new format.
thanks for reply, we will try to fix it soon.
from casdoor.
I'm using https://github.com/ramosbugs/openidconnect-rs which in general follow the spec quite strictly.
Since the change in
1.632.0
was reverted I did not spend more time trying to understand why it failed even with the new format.
I guess you are using the gitlab example of the openidcinnect-rs. however, the gitlab exapmle example add some external fields to the UserInfoClaim, you can remove the relevant these field to fix the problem, like below.
struct GitLabClaims {
// Deprecated and thus optional as it might be removed in the futre
// sub_legacy: Option<String>,
// groups: Vec<String>,
}
** Note: you need to use v1.632.0 **
from casdoor.
Just to clarify I'm not really using Casdoor, I'm maintaining a PR to add OpenId Connect to Vaultwarden and someone had issues with it.
As for your suggestion since the Address is part of the default CoreIdTokenClaims it's not easy to ignore.
from casdoor.
Related Issues (20)
- Certificate value in every SAML Response is getting changed HOT 6
- casdoor proxmox ve (bs) HOT 4
- Does the internal LDAP Server redirect to other LDAP sources? HOT 5
- [Bug]update owner error when update permission HOT 6
- Do not give hints of registered emails/accounts HOT 3
- [Bug] An application should not be able to create users for other organizations HOT 2
- Allow All Users to Perform LDAP Search Lookups in their org HOT 3
- How to control access to the console for regular users HOT 2
- Signup and get phone number from Lark OAuth provider HOT 1
- Automatically create a database when Docker runs? HOT 2
- Failed to save: pq: value too long for type character varying(1000) HOT 2
- Can the user password be encrypted at the front end and then transmitted to the back end during login? HOT 2
- logout not work when concurrent request HOT 8
- [feature] Add Support for `memberOf` Overlay in LDAP Server HOT 5
- Simulate user HOT 3
- sms login HOT 2
- Cannot read properties of null at Object.isPasswordEnabled after upgrading HOT 4
- [Bug] Incorrect `Username` fetch in IdP Lark HOT 3
- [feature] SAML NameID Mapping HOT 12
- SAML providers don't work (neither custom nor pre-installed) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casdoor.