kdoyen / openid-connect-php Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rask/openid-connect-php
Minimalist OpenID Connect client (PHP5.4+)
Home Page: https://github.com/kdoyen/openid-connect-php
License: Other
This project forked from rask/openid-connect-php
Minimalist OpenID Connect client (PHP5.4+)
Home Page: https://github.com/kdoyen/openid-connect-php
License: Other
Shouldn't it be
$public_key_xml = sprintf($public_key_xml, Utils::b64url2b64($key->n), Utils::b64url2b64($key->e));
?
Hello
I am testing this library with keycloak and I got an issue as the code was failing with the exception
User did not authorize openid scope.
and this is because the keycloak server was not sending the id_token.
According to openid specs, chapter 3.1.2.1:
"scope
REQUIRED. OpenID Connect requests MUST contain the openid scope value. If the openid scope value is not present, the behavior is entirely unspecified."
adding the scope openid made it works.
As it is specified that this scope must be present, I'm wondering if it's not better to hardcode it in the authencation request.
Or at least document it.
Best
kikkauz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.