Skip to content

Commit

Permalink
Make authorization endpoint available as Symfony route
Browse files Browse the repository at this point in the history
  • Loading branch information
cicnavi committed Jun 7, 2024
1 parent 562ec56 commit 21cd0b3
Show file tree
Hide file tree
Showing 24 changed files with 513 additions and 158 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"simplesamlphp/composer-module-installer": "^1.3",
"spomky-labs/base64url": "^2.0",
"symfony/expression-language": "^6.3",
"symfony/psr-http-message-bridge": "^7.1",
"web-token/jwt-framework": "^3"
},
"require-dev": {
Expand Down
48 changes: 24 additions & 24 deletions conformance-tests/conformance-back-channel-logout-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -79,7 +79,7 @@
"browser": [
{
"comment": "updates placeholder during the second authorization",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -132,7 +132,7 @@
"browser": [
{
"comment": "updates placeholder during the second authorization",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -185,11 +185,11 @@
"browser": [
{
"comment": "expect an immediate error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect redirect uri mismatch error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"commands": [
[
"wait",
Expand All @@ -209,11 +209,11 @@
"browser": [
{
"comment": "expect an immediate error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect redirect uri mismatch error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"commands": [
[
"wait",
Expand All @@ -233,11 +233,11 @@
"browser": [
{
"comment": "expect an immediate error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect redirect uri mismatch error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"commands": [
[
"wait",
Expand All @@ -257,11 +257,11 @@
"browser": [
{
"comment": "expect an immediate error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect redirect uri mismatch error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"commands": [
[
"wait",
Expand All @@ -281,11 +281,11 @@
"browser": [
{
"comment": "expect an immediate error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect redirect uri mismatch error page",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"commands": [
[
"wait",
Expand All @@ -305,7 +305,7 @@
"browser": [
{
"comment": "expect a login page with logo",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect a login page with logo",
Expand All @@ -329,7 +329,7 @@
"browser": [
{
"comment": "expect a login page with policy document link",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect a login page with policy document link",
Expand All @@ -353,7 +353,7 @@
"browser": [
{
"comment": "expect a login page with TOS document link",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Expect a login page with TOS document link",
Expand All @@ -376,7 +376,7 @@
"oidcc-rp-initiated-logout-bad-post-logout-redirect-uri": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -440,7 +440,7 @@
"oidcc-rp-initiated-logout-query-added-to-post-logout-redirect-uri": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -504,7 +504,7 @@
"oidcc-rp-initiated-logout-modified-id-token-hint": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -568,7 +568,7 @@
"oidcc-rp-initiated-logout-bad-id-token-hint": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -632,7 +632,7 @@
"oidcc-rp-initiated-logout-no-id-token-hint": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -696,7 +696,7 @@
"oidcc-rp-initiated-logout-no-params": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -760,7 +760,7 @@
"oidcc-rp-initiated-logout-no-post-logout-redirect-uri": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down Expand Up @@ -824,7 +824,7 @@
"oidcc-rp-initiated-logout-only-state": {
"browser": [
{
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorize.php*",
"match": "https://op.local.stack-dev.cirrusidentity.com/simplesaml/module.php/oidc/authorization*",
"tasks": [
{
"task": "Login",
Expand Down
Loading

0 comments on commit 21cd0b3

Please sign in to comment.